Solved

ps -l

Posted on 2008-06-13
1
224 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Application Discovery Service in AWS

In the era of the cloud, customers migrating away from their existing on-premise infrastructure. This requires lots of planning, strategies, and effort to identify their existing resources and determine how best to migrate.  Datacenter migrations happen in four phases -

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction: Hints for the grid button.  Nested classes, templated collections.  Squash that darned bug! Continuing from the sixth article about sudoku.   Open the project in visual studio. First we will finish with the SUD_SETVALUE messa…
The purpose of this article is to demonstrate how we can upgrade Python from version 2.7.6 to Python 2.7.10 on the Linux Mint operating system. I am using an Oracle Virtual Box where I have installed Linux Mint operating system version 17.2. Once yo…
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.
In this video, viewers will be given step by step instructions on adjusting mouse, pointer and cursor visibility in Microsoft Windows 10. The video seeks to educate those who are struggling with the new Windows 10 Graphical User Interface. Change Cu…

617 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