10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
Hi,
I have a file that contains 3 key element fields with the fourth being a total value, something along the lines of this "Site,Region,Town,Total" . What I need to be able to do is find out the top 3 totals by Site using an AWK program. In my efforts so far I have managed to create either a... (2 Replies)
Discussion started by: timberley
2 Replies
2. Solaris
Hi guys,
Hope u r doing find. I have this query. When we check the manual pages for a certain command, say man cat
we see the manual page with more
What is UNIX really doing here, I mean why not less command instead of more command. And can we have UNIX display the manual pages with less command... (2 Replies)
Discussion started by: gabam
2 Replies
3. Solaris
Hi all,
I have a server running an Oracle database that is part of a Solaris M5000 container. Presumably this is referred to as a zone within a cluster, not sure if I get the terminology right.
Anyway, a third-party manages the zone and unfortunately is not "helpful/friendly" to assist me on... (1 Reply)
Discussion started by: newbie_01
1 Replies
4. Shell Programming and Scripting
Hi,
I am using a script to send email from parsar / sar command for, if there is a specific value for CPU usage. If condition is not working but I can see the variable declared in echo command
I am using following script for send email from parsar command, If I comment if and then line... (0 Replies)
Discussion started by: mkashif
0 Replies
5. Shell Programming and Scripting
Hello folks,
I am searching for pattern, after that i want its presenece on top to bottom basis, like
cat abcd.txt |grep "123"|awk {'print $3'} |sort|uniq -c
it show result like
10 1.1.1.1
1 1.1.1.1
15 1.1.1.1
100 1.1.1.1
but i want to see this like
100 1.1.1.1
15 1.1.1.44
10... (3 Replies)
Discussion started by: learnbash
3 Replies
6. Shell Programming and Scripting
Hi.
Im looking for way to sum numbers from top. For example i have such command
top -b -n | grep Cpu | cut -c 35 - 39
which give me output 97.0 . Ho can i do with that value any arithmetic actions (for example 97.0 +1)?
Using
c = $((top -b -n | grep Cpu | cut -c 35 - 39))
gives me... (8 Replies)
Discussion started by: qdf
8 Replies
7. UNIX for Dummies Questions & Answers
hey can anyone tell me how can i combine these two commands so that it is executed only once, but gives me both the results.
IDLE=`sar 30 6 | grep Average | awk '{print $1 $5}' `
sar 30 120 | awk '{print $1" "$5}' >> mailx -m -s "$MSG" xyz@abc.com. (5 Replies)
Discussion started by: Ankur Khatri
5 Replies
8. Solaris
I am changing jobs and need to know a little about Solaris specific commands. I come from AIX and we have commands like errpt, smit, and lsattr that are AIX specific.
Any help is appreciated. (4 Replies)
Discussion started by: biznatch
4 Replies
9. UNIX for Dummies Questions & Answers
Hi,
I got a request from a client to check on their server's cpu, memory and disk utilization. Am planning to use the sar and iostat commands to achieve this. The server is used for sending and receiving messages between the stockbrokers, so I was thinking to run the commands during the market... (9 Replies)
Discussion started by: 60doses
9 Replies
10. UNIX for Advanced & Expert Users
Hi,
We have a DEC Alpha 4100 Server with OSF1 Digital Unix 4.0.
Can any one tell me, if there are any commands on this Unix which are equivalent to "top" and "sar" on HP-UX or Sun Solaris ?
I am particularly interested in knowing the CPU Load, what process is running on which CPU, etc.
... (1 Reply)
Discussion started by: sameerdes
1 Replies