08-04-2006
Sorry for the confusion.
I want to know the maximum amount of PIDS a pc can generate at once.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I need to find the file that is growing in the mount. Say yesterday the utilised space was 95% but today that is 96%. How do i find the file that is growing in size. Have checked the same with du/df options but was not able to find much.
Please suggest the best possible option. (3 Replies)
Discussion started by: raman1605
3 Replies
2. Shell Programming and Scripting
Hi Folks !!!!!!!!!!!!!!!!!!!
My Requirement is.............
i have a input file:
501,501.chan
502,502.anand
503,503.biji
504,504.raja
505,505.chan
506,506.anand
507,507.chan
and my o/p should be
chan->3
i.e. the word which occurs maximum number of times in a file should be... (5 Replies)
Discussion started by: aajan
5 Replies
3. UNIX for Dummies Questions & Answers
Please help me to find out maximum value of a field based on grouping of other fields, as we do in SQL.
Like in SQL if we are having below records :
Client_Name Associate_Name Date1 Value
C1111 A1111 2012-01-17 10
C1111 A1111 ... (1 Reply)
Discussion started by: KamalKumarKalra
1 Replies
4. Homework & Coursework Questions
Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!
1. The problem statement, all variables and given/known data:
I am trying to complete a script which will allow me to find:
a) reads a value from the keyboard. (ask the... (4 Replies)
Discussion started by: dstewie
4 Replies
5. Shell Programming and Scripting
0.01 0.6 0.39
0.4 0.3 0.3
1 0 0
0 0 1
I would like to print 2 if the maximum of a row is the first column
I would like to print 1 if the maximum of a row is the second colum
print 0 if it is the third.
so in this case,
0.6 is the max of the first row so i would want to print 1... (5 Replies)
Discussion started by: johnkim0806
5 Replies
6. UNIX for Dummies Questions & Answers
Dear Unix Gurus,
I have a text file with multiple columns, for example, see sample.txt below
0 1 301
1 4 250
2 6 140
3 2 610
7 1 180I want to find the maximum in, say, column 3, normalise all the values to this maximum value (to 4 decimal places) and spit everything into a new... (2 Replies)
Discussion started by: tintin72
2 Replies
7. Shell Programming and Scripting
Let say I have this table
A B 0.30 C D 0.60 E F 0.80 G H 0.11
I J 0.10 K L 0.23 M N 0.50 O P 0.01
I need to find the maximum value in each row and output the highest value plus the information two columns back.
For example: the output should look like this
E F 0.80
M N 0.50
Thanks in... (2 Replies)
Discussion started by: seiksoon
2 Replies
8. UNIX for Beginners Questions & Answers
I have a file has thousands of rows and each row has a number and the number can be positive or negative. I want to do the cumulative sum from the first row. How can I find out the maximum cumulative value when I do the sum work row by row. Here is the example:
4
-3
2
-3
-1
1In this case, the... (5 Replies)
Discussion started by: yuejian
5 Replies
9. Shell Programming and Scripting
Hello,
I need to find out the minimum and maximum values based on specific column, and then print out the entire row with the max value.
Infile.txt:
scf6 290173 290416 . + X_047241 T_00113118-1
scf6 290491 290957 . + X_047241 T_00113118-2
scf6 290898 290957 . + X_047241 T_00113119-3
scf6... (2 Replies)
Discussion started by: yifangt
2 Replies
10. Shell Programming and Scripting
Need your support for below. Please help to get required output
If column 5 is INV then only consider column1 and take out duplicates/identical rows/values from column1 and then put minimum value of column6 in column7 and put maximum value in column 8 and then need to do subtract values of... (7 Replies)
Discussion started by: as7951
7 Replies
PSTREE(1) User Commands PSTREE(1)
NAME
pstree - display a tree of processes
SYNOPSIS
pstree [-a, --arguments] [-c, --compact] [-h, --highlight-all, -Hpid, --highlight-pid pid] [-g] --show-pgids] [-l, --long]
[-n, --numeric-sort] [-N, --ns-sortns [-p, --show-pids] [-s, --show-parents] [-S, --ns-changes] [-t, --thread-names] [-T, --hide-threads]
[-u, --uid-changes] [-Z, --security-context] [-A, --ascii, -G, --vt100, -U, --unicode] [pid, user]
pstree -V, --version
DESCRIPTION
pstree shows running processes as a tree. The tree is rooted at either pid or init if pid is omitted. If a user name is specified, all
process trees rooted at processes owned by that user are shown.
pstree visually merges identical branches by putting them in square brackets and prefixing them with the repetition count, e.g.
init-+-getty
|-getty
|-getty
`-getty
becomes
init---4*[getty]
Child threads of a process are found under the parent process and are shown with the process name in curly braces, e.g.
icecast2---13*[{icecast2}]
If pstree is called as pstree.x11 then it will prompt the user at the end of the line to press return and will not return until that has
happened. This is useful for when pstree is run in a xterminal.
Certain kernel or mount parameters, such as the hidepid option for procfs, will hide information for some processes. In these situations
pstree will attempt to build the tree without this information, showing process names as question marks.
OPTIONS
-a Show command line arguments. If the command line of a process is swapped out, that process is shown in parentheses. -a implicitly
disables compaction for processes but not threads.
-A Use ASCII characters to draw the tree.
-c Disable compaction of identical subtrees. By default, subtrees are compacted whenever possible.
-G Use VT100 line drawing characters.
-h Highlight the current process and its ancestors. This is a no-op if the terminal doesn't support highlighting or if neither the
current process nor any of its ancestors are in the subtree being shown.
-H Like -h, but highlight the specified process instead. Unlike with -h, pstree fails when using -H if highlighting is not available.
-g Show PGIDs. Process Group IDs are shown as decimal numbers in parentheses after each process name. -g implicitly disables com-
paction. If both PIDs and PGIDs are displayed then PIDs are shown first.
-l Display long lines. By default, lines are truncated to either the COLUMNS environment variable or the display width. If neither of
these methods work, the default of 132 columns is used.
-n Sort processes with the same ancestor by PID instead of by name. (Numeric sort.)
-N Show individual trees for each namespace of the type specified. The available types are: ipc, mnt, net, pid, user, uts. Regular
users don't have access to other users' processes information, so the output will be limited.
-p Show PIDs. PIDs are shown as decimal numbers in parentheses after each process name. -p implicitly disables compaction.
-s Show parent processes of the specified process.
-S Show namespaces transitions. Like -N, the output is limited when running as a regular user.
-t Show full names for threads when available.
-T Hide threads and only show processes.
-u Show uid transitions. Whenever the uid of a process differs from the uid of its parent, the new uid is shown in parentheses after
the process name.
-U Use UTF-8 (Unicode) line drawing characters. Under Linux 1.1-54 and above, UTF-8 mode is entered on the console with echo -e
' 33%8' and left with echo -e ' 33%@'
-V Display version information.
-Z (SELinux) Show security context for each process. This flag will only work if pstree is compiled with SELinux support.
FILES
/proc location of the proc file system
BUGS
Some character sets may be incompatible with the VT100 characters.
SEE ALSO
ps(1), top(1).
psmisc 2016-06-18 PSTREE(1)