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
Solved

ps -l

Posted on 2008-06-13
1
221 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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Windows Drag & Drop Location 2 108
How to determine file rename from EventLog ? 2 54
firstChar challenge 13 121
Can not remove SSL certificate on iPhone 6 - iOS10.2 12 841
Introduction: Dynamic window placements and drawing on a form, simple usage of windows registry as a storage place for information. Continuing from the first article about sudoku.  There we have designed the application and put a lot of user int…
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
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 a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

856 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