Posted on 2008-06-13
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),