Sponsored Content
Full Discussion: Can nmon be customized?
Top Forums Shell Programming and Scripting Can nmon be customized? Post 302439505 by ngaisteve1 on Thursday 22nd of July 2010 09:46:22 PM
Old 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. Smilie
 

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Customized copy.

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

customized shell for specific users

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

customized username?

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

How to put customized error report on errpt ?

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

Passing arguments to customized makefile

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

Customized command excution

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

Unable to create customized multipath device

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

Customized boot log messages

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

Customized text searches by using grep

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
xdm.options(5)							File Formats Manual						    xdm.options(5)

NAME
xdm.options - configuration options for the X display manager DESCRIPTION
/etc/X11/xdm/xdm.options contains a set of flags that determine some of the behavior of the X display manager xdm(1x). Most of xdm's behavior is customized through other files; consult the xdm manual page if this manual page does not describe the behavior you want to alter. /etc/X11/xdm/xdm.options may contain comments, which begin with a hash mark ('#') and end at the next newline, just like comments in shell scripts. The rest of the file consists of options which are expressed as words separated by hyphens, with only one option per line. Options are enabled by simply placing them in the file; they are disabled by prefixing the option name with 'no-'. Available options are: ignore-nologin Normally, if the nologin(5) file exists, its contents will be displayed using xmessage(1x) (if xmessage is available), and the user will be returned to the xdm login screen after xmessage is dismissed instead of starting the X session. If this option is enabled, xdm starts a session as usual (after xmessage is dismissed, if xmessage is available and the nologin file exists). This behavior is disabled by default: nologin is heeded, not ignored. restart-on-upgrade Enable this option with caution on 'production' machines; it causes the daemon to be stopped and restarted on upgrade, even if the process has children (which means it is managing X sessions). Typically when a package that contains a daemon is being installed or upgraded, its maintainer scripts stop a running daemon process before installing the new binary, and restart it after the new binary is installed. Stopping xdm causes immediate termination of any sessions it manages; in some situations this could be an unwelcome surprise (for instance, for remote xdm users who had no idea the administrator was performing system maintenance). On the other hand, for machines that stay up for long periods of time, leaving the old daemon running can be a bad idea if the new version has, for instance, a fix for a security vulnerability (overwriting xdm's executable on the file system has no effect on the copy of xdm in memory). The xdm package's pre-removal script checks to see if the xdm process has any children; if it does, it is possible that someone's session would be killed by stopping xdm, so a warning is issued and an opportunity to abort the upgrade of xdm is pro- vided. Furthermore, restarting xdm on upgrade can be surprising, because a locally-managed X server can change the active VT even while other packages are continuing to upgrade. If, by intent or accident, the X server does not honor the key sequence to switch VTs back to a virtual console, this can be undesirable. This behavior is disabled by default: xdm will be not be stopped or started during an upgrade of its package; the administrator will have to do so by hand (with invoke-rc.d xdm restart or by rebooting the system) before the newly installed xdm binary is used. start-on-install Enable this option with caution; it causes the xdm daemon to be started immediately after the package is installed. See the above entry regarding restart-on-upgrade for other caveats regarding the consequences of starting the xdm daemon during package manage- ment. This behavior is disabled by default: xdm will not be started when it is installed. Changing this setting can affect future installs if the package is removed, but not purged (which removes 'conffiles', including xdm.options). use-sessreg This option causes the /etc/X11/xdm/Xreset script to call the sessreg(1x) program to register X sessions managed by xdm in the utmp(5) and wtmp(5) files. If it is disabled, the utmp and wtmp files will have no record of xdm sessions. This behavior is enabled by default; sessreg will be used. Users of older versions of the Debian system should note that the 'run-xconsole' option has been removed. The shell script named /etc/X11/xdm/Xreset can be edited to disable or modify the running of xconsole on the xdm greeter screen; see xdm(1x) for more information. AUTHORS
Stephen Early, Mark Eichin, and Branden Robinson customized xdm's startup and reset scripts and package maintainer scripts to implement the functionality described above. This manual page was written by Branden Robinson. SEE ALSO
sessreg(1x), xmessage(1x), xdm(1x), nologin(5), utmp(5), wtmp(5) Debian Project 2004-10-31 xdm.options(5)
All times are GMT -4. The time now is 08:44 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy