10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I need to multiply column1 and column3 data and need to compare it with column5. Need to check multiplication and Throw error if result is greater or less than column5 values, though difference of +/- 2 will be ok
Ex - if column1 has 2.4 and column3 has 3.5, it will be ok if column5 have value... (13 Replies)
Discussion started by: as7951
13 Replies
2. Shell Programming and Scripting
Hello,
I am trying to print out the first string matching query with grep and I need your help.
My scenario:
Database
John F
4433 Street No 88 CA
Elisabeth Taylor
7733 Street No 26 ON
Jack Nicholson
0133 Green Park No 34 AR
John F 2
9399 Southpark No 02D UT
test.sh... (6 Replies)
Discussion started by: baris35
6 Replies
3. Shell Programming and Scripting
Hi Gurus,
I have requirement to compare current result with previous reuslt.
The sample case is below.
1 job1 1
1 job2 2
1 job3 3
2 job_a1 1
2 job_a2 2
2 job_a3 3
3 job_b1 1
3 job_b2 2
for above sample file, GID is group ID, for input line, the job run... (1 Reply)
Discussion started by: ken6503
1 Replies
4. AIX
Hi,
how to grep data from topas command...for example i have to grep owner from topas command
Thanks (2 Replies)
Discussion started by: sumanthupar
2 Replies
5. Shell Programming and Scripting
How do i display only one iteration of topas command. Ideally i would topas -P to show only one instance rather than keep on running. is there any swicth? (1 Reply)
Discussion started by: NarayanaPrakash
1 Replies
6. Shell Programming and Scripting
I'm having trouble piping grep results/error to a file. Why can't I redirect these messages into a file?
$ grep -r -o "pattern" * > log
Binary file foo1 matches
Binary file foo2 matches
Binary file foo3 matches
Binary file foo4 matches
The log is created, but remains empty.
... (1 Reply)
Discussion started by: chipperuga
1 Replies
7. AIX
Hi,
I'm using topas to monitor CPU and Disk activity including paging space. Previously, I can see the percentage activity of the disk under column "BUSY%", now I can no longer view it (it's all zero), unless I will run IOSTAT 2 simultaneously. What would be the cause of this?
Thanks, (2 Replies)
Discussion started by: pasion
2 Replies
8. AIX
good morning
what is the better solution to examen a P570 ?
because i use topas and nmon, and the results are totally different !!!
with nmon, i have 80% free cpu, and with nmon, i have 90% of used cpu !!!!!!
i take a shot with an intervall of 10s during 10 mn.
thank you (0 Replies)
Discussion started by: pascalbout
0 Replies
9. AIX
how to capture output of topas command to text file by shell ???
I tried to do it by below method , but it is different to topas's output .
The output file include ansi code as moves cursor up # lines , moves cursor up # lines ...... :(
someone can help me ???
1. (sleep 6; echo q)|topas... (2 Replies)
Discussion started by: charles_su
2 Replies
10. UNIX for Advanced & Expert Users
Hi !
I would like to collect every minute the data of the "topas" to file.
Under Redhat 9, it's possible to user comand "top" in batch mode ! How is it possible under unix with TOPAS ? Because there is not the parameter " -b"...
example ----> topas > filename.out
but, it doesn't... (1 Reply)
Discussion started by: cgatrader
1 Replies