10 More Discussions You Might Find Interesting
1. AIX
This question is asked in an interview today that I have to return output with each PID number and the count of each PID number logged today. Here is the script that I have written. Can you confirm if that would work or not. The interviewer didn't said if my answer is correct or not. Can someone... (5 Replies)
Discussion started by: Subodh Kumar
5 Replies
2. Solaris
Hi,
When I sum the RSS number in the ps command for a specific user and compare it with the RSS values of the prstat command of the same user - there is a big difference.
Server details: Solaris 10 5/09 s10s_u7wos_08 SPARC
prstat output:
NPROC USERNAME SWAP RSS MEMORY TIME ... (2 Replies)
Discussion started by: amitlib
2 Replies
3. Shell Programming and Scripting
Input file:
ID_34 2E-69 2324
ID_1 0E0 3254
ID_1 0E0 5434
ID_5 0E0 436
ID_1 1E-14 2524
ID_1 5E-52 46437
ID_3 65E-20 45467
ID_1 0E0 6578
...
Desired output file:
ID_1 0E0 6578
ID_1 0E0 5434
ID_1 0E0 3254
ID_1 5E-52 46437
ID_1 1E-14 2524
ID_3 65E-20 45467 (5 Replies)
Discussion started by: cpp_beginner
5 Replies
4. Shell Programming and Scripting
I want to sort a file with a list of words, in order of most occuring words to least occurring words as well as alphabetically.
ex:
file1:
cat 3
cat 7
cat 1
dog 3
dog 5
dog 9
dog 1
ape 4
ape 2
I want the outcome to be:
file1.sorted:
dog 1 (12 Replies)
Discussion started by: castrojc
12 Replies
5. Red Hat
What is a PID number? (3 Replies)
Discussion started by: nariangel
3 Replies
6. Shell Programming and Scripting
Hi, is there a command that takes the PID of a process and that only diplays it's ni number?
I`m pretty sure it would require pipes but I tried a few things that ended up miserably...
Since the ps command doesn't show the ni unless I do ps -o ni but then I can't find a way to search the right... (2 Replies)
Discussion started by: Yakuzan
2 Replies
7. UNIX for Dummies Questions & Answers
Hello guys,
How to shut down a port number in AIX.
May be first I need to find out what is the process ID of that process that listens to this particular port.. Is there any command to find a process ID from the port number other than "lsof".
thanks (1 Reply)
Discussion started by: solaix14
1 Replies
8. AIX
Hello,
On a AIX 5.3.5.0 server, we have PID exceeding 999999. This cause some troubles in our programms.
I would like to know the process creation rules on aix :
- what is the maximum pid number ?
- what is the wrap limit on aix, and where to find it, how to configure pid wrap limit ?
-... (3 Replies)
Discussion started by: astjen
3 Replies
9. HP-UX
Hi,
I am working on HP-UX Release 11i.
I want to find the process id (PID) of the process running on a particular port.
lsof command fuser does not work on this system.
Please suggest some alternative.
Thanks (6 Replies)
Discussion started by: gmat
6 Replies
10. UNIX for Advanced & Expert Users
How is it possible under UNIX to restrain the number of digits of the PID number?
For instance, we have a product that generates a PID of 7 digits, and we would like to have only 6 digits maximum instead for the PID.
Thank you for your help. (1 Reply)
Discussion started by: mlefebvr
1 Replies