02-08-2013
Hi Rudic,
Please let me know what does [M] implies.
how does it filter?
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Does any one know how to get a recursive directory listing in long format (showing owner, group, permission etc) without listing the files contained in the directories.
The following command also shows the files but I only want to see the directories.
ls -lrtR * (4 Replies)
Discussion started by: psingh
4 Replies
2. UNIX for Dummies Questions & Answers
need help with this ...
Find files older than 5 days and remove tem after listing
list "test" file older than 5 days and then remove them (1 Reply)
Discussion started by: ypatel6871
1 Replies
3. Shell Programming and Scripting
How do we list all the file names in a directory that does not belong to current date. (1 Reply)
Discussion started by: esh.mohan
1 Replies
4. UNIX for Dummies Questions & Answers
How do we list all the file names in a directory that does not belong to current date. (3 Replies)
Discussion started by: esh.mohan
3 Replies
5. UNIX for Dummies Questions & Answers
Hello All, I am trying to list only directories in my current directory using the command "ls -d". But the output only contains the default directory "." and doesn't list the rest of the directories in the working directory. Can anyone explain why this is happening (2 Replies)
Discussion started by: igandu
2 Replies
6. UNIX for Dummies Questions & Answers
Hi
I am trying to display the home directory of another user. I dont have the permissions to change into their directory and wonder is it possible to display their directory
eg I cant change directory to john but I am trying to display something like /home/John.
If anyone can help I would... (3 Replies)
Discussion started by: mmg2711
3 Replies
7. UNIX for Dummies Questions & Answers
Hello,
In my directory i have got a list of files like below
unix1a.csv
unix1b.csv
unix1c.csv
unix1d.csv
unix1y.csv
I have done ls -lrt unix1.csv, how can i get my unix1y.csv also get listed along with this.. (5 Replies)
Discussion started by: sathyaonnuix
5 Replies
8. UNIX for Dummies Questions & Answers
listing based on user.
I have files in some folder that come from many user
-rwxrwxr-x 1 ratih pbank 4827112 Jun 8 08:37 S92TA-8.sgy
-rwxrwxr-x 1 ratih pbank 4724568 Jun 8 08:37 S92TA-6.sgy
-rwxrwxr-x 1 ratih pbank 4929656 Jun 8 08:37 S92TA-19.sgy
-rwxrwxr-x 1 ratih ... (4 Replies)
Discussion started by: muhnandap
4 Replies
9. UNIX for Dummies Questions & Answers
Hello,
I need some help.
How can I list files starting with p or f and with the exact length of 3 characters? (2 Replies)
Discussion started by: airbebe
2 Replies
10. Shell Programming and Scripting
i have multiple files like
how to do list files from new_30 to new_50
i have tried this command but it wont work
dir new*{30-50}.txt
my exact requirement is to get line count of these files
the command which work is
FOR %i IN (new*.txt) DO find %i /c /v ""
but at the... (1 Reply)
Discussion started by: sagar_1986
1 Replies
PS(1) General Commands Manual PS(1)
NAME
ps - process status
SYNOPSIS
ps [ aklx ] [ namelist ]
DESCRIPTION
Ps prints certain indicia about active processes. The a option asks for information about all processes with terminals (ordinarily only
one's own processes are displayed); x asks even about processes with no terminal; l asks for a long listing. The short listing contains
the process ID, tty letter, the cumulative execution time of the process and an approximation to the command line.
The long listing is columnar and contains
F Flags associated with the process. 01: in core; 02: system process; 04: locked in core (e.g. for physical I/O); 10: being swapped;
20: being traced by another process.
S The state of the process. 0: nonexistent; S: sleeping; W: waiting; R: running; I: intermediate; Z: terminated; T: stopped.
UID The user ID of the process owner.
PID The process ID of the process; as in certain cults it is possible to kill a process if you know its true name.
PPID The process ID of the parent process.
CPU Processor utilization for scheduling.
PRI The priority of the process; high numbers mean low priority.
NICE Used in priority computation.
ADDR The core address of the process if resident, otherwise the disk address.
SZ The size in blocks of the core image of the process.
WCHAN The event for which the process is waiting or sleeping; if blank, the process is running.
TTY The controlling tty for the process.
TIME The cumulative execution time for the process.
The command and its arguments.
A process that has exited and has a parent, but has not yet been waited for by the parent is marked <defunct>. Ps makes an educated guess
as to the file name and arguments given when the process was created by examining core memory or the swap area. The method is inherently
somewhat unreliable and in any event a process is entitled to destroy this information, so the names cannot be counted on too much.
If the k option is specified, the file /usr/sys/core is used in place of /dev/mem. This is used for postmortem system debugging. If a
second argument is given, it is taken to be the file containing the system's namelist.
FILES
/unix system namelist
/dev/mem core memory
/usr/sys/core alternate core file
/dev searched to find swap device and tty names
SEE ALSO
kill(1)
BUGS
Things can change while ps is running; the picture it gives is only a close approximation to reality.
Some data printed for defunct processes is irrelevant
PDP11 PS(1)