Solved

ps -l

Posted on 2008-06-13
1
218 Views
Last Modified: 2013-12-26
Hi,

I'm a windows user, I'm trying to find out what ps -l does for unix? I think it prints a list of all processes running at the time you issue that command, similar to windows' task manager.

The output header seems to be:

F S  UID   PID  PPID C PRI NI ADDR SZ WCHAN TTY       TIME CMD


I'm really wondering what the first two columns stand for (F and S)? They seem to always be a single character, is that always the case, or can they sometimes be more than one character? (I'm wondering because I want to write a script that parses the output, and it'll make a difference if the output is only ever one char long for those two columns or can be more),

Thanks
0
Comment
Question by:DJ_AM_Juicebox
1 Comment
 
LVL 40

Accepted Solution

by:
omarfarid earned 500 total points
ID: 21779815
from the man page of ps:

F        flags associated with the process
S        minimal state display

http://man-wiki.net/index.php/1:ps
http://man-wiki.net/index.php/1:ps#PROCESS_FLAGS
http://man-wiki.net/index.php/1:ps#PROCESS_STATE_CODES
0

Featured Post

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
EvenOdd challenge 10 83
scoreUp challenge 14 48
mapAB Challlenge 35 89
Can not remove SSL certificate on iPhone 6 - iOS10.2 12 92
Introduction: Dialogs (2) modeless dialog and a worker thread.  Handling data shared between threads.  Recursive functions. Continuing from the tenth article about sudoku.   Last article we worked with a modal dialog to help maintain informat…
The purpose of this article is to fix the unknown display problem in Linux Mint operating system. After installing the OS if you see Display monitor is not recognized then we can install "MESA" utilities to fix this problem or we can install additio…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

747 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now