10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Please do not post a technical question in the @How to contact....' forum. I have moved this for you.
Hello Everyone,
Please help me on this,
Requirement here is to check whether the process is running using the process id.
For the below scenario, I m trying to grep 1750 process id to... (3 Replies)
Discussion started by: Hari A
3 Replies
2. Shell Programming and Scripting
hi i have sample data
a,b,c,d,e,g h http://mysite.xyx
z,b,d,f,e,s t http://123124#
a,b,c,i,m,nothing
d,i,j,e,w,nothing
output expected is
a,b,c,d,e,http://mysite.xyx
z,b,d,f,e,http://123124#
a,b,c,i,m,nothing
d,i,j,e,w,nothing
i can get only links using grep -o 'http.*'
i... (8 Replies)
Discussion started by: zozoo
8 Replies
3. AIX
Requirement is to monitor cpu usage /process for a user given time and record the output. topas,topasout,topasrec,tprof not seems to be working for me. so what i am looking for is to run below command continously till the time limit given by the user who runs the script.since below command is a one... (6 Replies)
Discussion started by: NarayanaPrakash
6 Replies
4. AIX
Hi,
Can someone tell me what the difference is between ps -ef and ps aux. I was under the assumption that both commands would list ALL processes currently running on the system.
But on my server I find the following:
# ps
-ef | wc -l
519
# ps aux | wc -l
571
What... (1 Reply)
Discussion started by: petervg
1 Replies
5. Shell Programming and Scripting
Hi again, well does anyone knows how can i grep a process that right know the only part of the process name that i know is "backup" then renice it if the cpu consumption is more then 90% ...
for now i have :
a=$(ps aux | grep -c backup )
while $a > 2 #pseudo code
do
if ; then #... (16 Replies)
Discussion started by: drd0spt
16 Replies
6. Shell Programming and Scripting
to get the list of file name with size
Example:
rwxrwxrwx 1 cm x 562KB Nov 6 19:22 a
rwxrwxrwx 1 cm x 562MB Nov 6 19:22 a
edit by bakunin: Please view this code tag video for how to use code tags when posting code and data. (5 Replies)
Discussion started by: Jewel
5 Replies
7. Shell Programming and Scripting
Hi ,
I need to extract data from below mentioned data, having no delimiter and havin no fixed column length.
For example:
Member nbr Ref no date
10000 1000 10202012
200000 2000 11202012
Output:
to update DB with memeber nbr on basis of ref no.
... (6 Replies)
Discussion started by: ns64110
6 Replies
8. Shell Programming and Scripting
Hello,
I have 2 columns (1st column has multiple entries but the corresponding values in the column 2 may be the same or different.) however I want to extract unique values for each entry in column 1 by assigning the max value from column 2
SDF4 -0.211654
SDF4 0.978068
... (1 Reply)
Discussion started by: Diya123
1 Replies
9. UNIX for Dummies Questions & Answers
what is the aim of this command:
ps aux|grep getty (1 Reply)
Discussion started by: gfhgfnhhn
1 Replies
10. UNIX for Dummies Questions & Answers
I am new to the Unix.
Can someone tell me what is the difference between 'PS' command and 'PS -aux"?
Isn't 'PS' mean the current running process?
Isn't 'PS -aux' mean the current running process too?
If they are the same, how come 'PS -aux' always has a lot more listing than 'PS'?
Thanks, (4 Replies)
Discussion started by: a2715mt
4 Replies