07-22-2010
Can nmon be customized?
Hi, my name is Steve Ngai from Malaysia. This is my first post. Hope to learn more about Unix from this forum.
My first question is can nmon be customized? When I run nmon, I need to manually type c to see CPU usage, then m for memory usage. Can I pass it some nmon option to automatically see CPU usage and memory usage from one unix command?
I tried to google it but couldn't find what I need.
9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
HI guys,
I'm working on a code with the following specs:
1. Retrieving files with a particular extensions from a location specified by the users.
2. Copying those files to user specified location
i) but i need to pause copy if the network is busy
ii) and the copy process must... (3 Replies)
Discussion started by: bill88
3 Replies
2. Shell Programming and Scripting
Hi there
I have an SFTP over Solaris as well it runs Samba. I need some users (outsiders) to use my SFTP facility as well to use the Samba. However i don't want them do anything else except file transferring via SFTP or Samba.
I was thinking to customize their Shell so that they would not run... (1 Reply)
Discussion started by: Time_Racer
1 Replies
3. Forum Support Area for Unregistered Users & Account Problems
Hi
i have registered but my username is set to default value ( my email). can i change this ? (2 Replies)
Discussion started by: customizeemai
2 Replies
4. AIX
Hi Gurus,
Here is a requirement from my side, i have a script root password expiary, means this script will examine if root password has been expired or not,
if it's expired then it will write into a file and mail to certain mail id till here everything is fine. But i want it to write to errpt,... (3 Replies)
Discussion started by: linux.amrit
3 Replies
5. Programming
Hello,
How to pass arguments to make thru command line? Have read this and that threads, but still not clear. My customized Makefile as:
# convert_program.mk:
run:
bash bash_srcipt.sh
clean:
rm ${OUT_PATH}/result.txtWhat I intend is to run like this:
$ make -f convert_progam.mk... (4 Replies)
Discussion started by: yifangt
4 Replies
6. Shell Programming and Scripting
Hi,
The below commands will be inside a KSH script and SOLARIS machine.
Command-1 //Executes in 10s,5s,..5mins,etc
TIMER = Look for Command-1 execution status - IF finished in 25secs move to next command in the script IF NOT kill above command and move to next command.
Command-2
Any... (9 Replies)
Discussion started by: penqueen
9 Replies
7. Red Hat
Hi,
I am testing on iSCSI + multipath, where i have one iSCSI lun assigned to one server.
mpatha (1IET 00010001) dm-2 IET,VIRTUAL-DISK
size=100M features='0' hwhandler='0' wp=rw
|-+- policy='round-robin 0' prio=1 status=active
| `- 2:0:0:1 sda 8:0 active ready running
`-+-... (6 Replies)
Discussion started by: linux.amrit
6 Replies
8. Red Hat
Hi all
Many years ago, I found online this script that was incredibly funny and I had blogged it
Unfortunately because of my poor record-keeping, I seem to have lost the shell script
Would somebody be kind enough to tell me how to replicate this?
Thank you! (0 Replies)
Discussion started by: hedkandi
0 Replies
9. Shell Programming and Scripting
I tried to ease text searches so made a customized grep:
g () {
if
then
i=
for s in $2
do
i="$i --include=*.$s"
done
else
i='--include=*.txt --include=*.ini --include=*.*sh --include=*.c* --include=*.h --include=*.js --include=*.reg'
fi
grep -P -e \'$1\' -r "$i"
}
but I... (3 Replies)
Discussion started by: abdulbadii
3 Replies
invsync(8) System Manager's Manual invsync(8)
NAME
invsync - Synchronizes system inventory
SYNOPSIS
/usr/bin/invsync
DESCRIPTION
The invsync utility creates a Master Synchronization Inventory (MSI) file and a Customized File Inventory (CFI) file. These files can be
used to preserve the customized or modified state of your system in the event of a new installation. The MSI file contains a complete list
of files installed by the setld utility and the state of those files when they were installed. The CFI file contains the names of those
files installed by the setld utility that have been customized or modified since the installation. The files listed in the CFI file are
overwritten if you perform a new installation of the operating system.
You must have superuser privileges to run the invsync utility.
The invsync utility calls the usync utility to create the MSI file. After the MSI file is created, the invsync utility calls the udetect
utility to compare the state of the files shown in the MSI file with the current state of the files installed on the system. If a file
state differs, an entry is written to the CFI file.
Edit the CFI file to remove the entries for files that you do not want to back up. The CFI file and the MSI file are written in the setld
inventory file format. For more information, refer to the stl_inv(4) refernce page.
RESTRICTIONS
You must have superuser privileges to run the invsync utility.
FILES
Subset lock files Subset inventory files Customized File Inventory Master Synchronization Inventory
SEE ALSO
genufi(8), udetect(8), updmerge(8), updmv(8), usync(8) stl_inv(4)
invsync(8)