9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
Please have a look at the look at the below top and sar commands.
top -bn1 | grep load | awk '{printf "CPU Load: %.2f\n", $(NF-2)}'
CPU Load: 0.52
sar -u 1 1
Linux 3.10.0-514.16.1.el7.x86_64 (mymac) 06/01/2017 _x86_64_ (2 CPU)
03:27:40 PM CPU %user %nice ... (1 Reply)
Discussion started by: mohtashims
1 Replies
2. UNIX for Advanced & Expert Users
Hello all,
I manage some HP-UX 11.31 servers. I have some users that have sudo access. All of them belong to the 'sudoers' user group. Right now, sudo is configured as wide open:
%sudoers ALL=(ALL) ALL
We are using sudo mostly for auditing purposes - when a user wants to run a... (9 Replies)
Discussion started by: lupin..the..3rd
9 Replies
3. UNIX for Dummies Questions & Answers
guys
can any one help me how to set top arrow to get the history of last used commands.I am using ksh (3 Replies)
Discussion started by: etldev
3 Replies
4. UNIX for Dummies Questions & Answers
I have a set of commands that I am using to copy specific areas of source code in a Cold Fusion document and export the code into recreations of the original files into a sub-directory. Here are the 3 commands I am using:
mkdir ./out && for x in *.cfm; do awk '{FS="<!-- InstanceBeginEditable... (17 Replies)
Discussion started by: dratech09
17 Replies
5. UNIX for Dummies Questions & Answers
Hi,
I have the following script, and it is driving me nuts.
It just hangs, I've tried all kinds of tricks, but it won't work.
I know it can, it is pretty straight forward.
It hangs when it tries to output $X
Any help appreciated!
#!/bin/bash
set -o xtrace
command="top -b"... (10 Replies)
Discussion started by: Bloke
10 Replies
6. Red Hat
I am using Fedora 8,Red hat 9.
Whenever we write a new command. Then we goto "/usr/bin" and then place this in this directory.And hence we can use it as a command anywhere from the terminal.
We generally see commands like "trap" which run only in bash shell.We also have other shell specific... (1 Reply)
Discussion started by: nsharath
1 Replies
7. Solaris
hi all
anyone can help me to enable top command on solaris 9 version
Regards (9 Replies)
Discussion started by: maooah
9 Replies
8. UNIX for Dummies Questions & Answers
hi
i am in sap basis . any body have aix command list which are required for a basis admin to check, during critical situations
thanks
akhil (1 Reply)
Discussion started by: p372707
1 Replies
9. Solaris
I need some information for the top statistics being displayed in Solaris 10
they look like the following
CPU states: 92.0% idle, 3.3% user, 4.7% kernel, 0.0% iowait, 0.0% swap
Memory: 8192M real, 216M free, 9208M swap in use, 1236M swap free
I need to know what does 0.0% swap means.... (1 Reply)
Discussion started by: raman1605
1 Replies