Sponsored Content
Top Forums Shell Programming and Scripting Monitoring system available time Post 50567 by borncrazy on Tuesday 27th of April 2004 10:09:38 AM
Old 04-27-2004
Question

Hi,

Can you provide a sample code snippet for the same. I am in the process of learning shell scripting

Thanks.
 

7 More Discussions You Might Find Interesting

1. Programming

system monitoring api

Hi all, I am looking for api to get me system monitoring statictics every 5 minutes. I am looking at the following statistics: 1. System CPU Usage 2. Process CPU Usage 3. Process Memory Usage 4. I/O Usage for a certain disk. 5. Process I/O bytes/sec utilization. I have seen very... (4 Replies)
Discussion started by: uiqbal
4 Replies

2. AIX

AIX system monitoring

Hi All, I am new to administration. can any one pls tell me how can i accomplish the follwoing task in AIX : 1.The overall %CPU used, the %CPU used of each CPU, the overall Real Memory in KB is used, the total Real Memory is installed in the host, the overall Virtual Memory in KB is... (2 Replies)
Discussion started by: panyam
2 Replies

3. Shell Programming and Scripting

Monitoring a users log in time?

how do i start with this guys? Sample run: $ LOGTIME it2015678 <enter> User it2015678 is CRUZ Tommy H And has logged on to the system for: 8 hours 12 minutes from the time this script was run. (1 Reply)
Discussion started by: skypigeon
1 Replies

4. Shell Programming and Scripting

system monitoring script

Hi, Does anyone have an example system monitoring script to monitor drives, memory, etc. Need a good example. Cheers Walnutpony (4 Replies)
Discussion started by: walnutpony123
4 Replies

5. Shell Programming and Scripting

Process monitoring for a fixed time

Hi Gurus, I have a scenario where i need to monitor for a process which starts at a particular time. I need to check if the process has started at the specified time and keep checking this for 5 minutes only and then want to alert me. ps -ef | grep -i process.sh | grep -v grep >... (5 Replies)
Discussion started by: jayadanabalan
5 Replies

6. Infrastructure Monitoring

Best system monitoring for Linux

Hi all, I'm looking for the best tool to monitor the Linux system. I've found a lot of interesting tools searching the web but I didn't find one which can do all the requirments (like a one in all tool). I would prefer it to include a command line interface also. Thank you, Andreea (1 Reply)
Discussion started by: andreea9322
1 Replies

7. Shell Programming and Scripting

Time synch monitoring

I'm using a debian variant. My system clock already auto synchronizes. I'd like to have some sort of alert or log entry if the time is ever off by more than a particular amount. My first choice is to have a new file created on the desktop each day that there is a slip greater than the specified... (4 Replies)
Discussion started by: jutnobs
4 Replies
dbus-monitor(1) 						   User Commands						   dbus-monitor(1)

NAME
dbus-monitor - debug probe to print message bus messages SYNOPSIS
dbus-monitor [--system | --session] [--profile | --monitor] [watch_expressions] DESCRIPTION
The dbus-monitor command is used to monitor messages going through a D-Bus message bus. There are two standard message buses: o systemwide message bus - Disabled and not supported on Solaris, but installed on many systems as the "messagebus" init service. o per-user-login-session message bus - Enabled and supported on Solaris, and started each time a user logs in. The --system and --session options direct dbus-monitor to monitor the system or session buses respectively. If neither is specified, dbus- monitor monitors the session bus. dbus-monitor has two different output modes, the 'classic'-style monitoring mode and profiling mode. The profiling format is a compact for- mat with a single line per message and microsecond-resolution timing information. The --profile and --monitor options select the profiling and monitoring output format respectively. If neither is specified, dbus-monitor uses the monitoring output format. The message bus configuration may keep dbus-monitor from seeing all messages, especially if you run the monitor as a non-root user. See http://www.freedesktop.org/software/dbus/ for more information. OPTIONS
The following options are supported: --monitor Use the monitoring output format (this is the default). --profile Use the profiling output format. --session Monitor the session message bus (this is the default). --system Monitor the system message bus. The system bus is disabled and unsupported on Solaris. OPERANDS
The following operands are supported: watch_expressions In order to display the messages you are interested in, you should specify a set of watch_expressions as you would expect to be passed to the dbus_bus_add_watch function. EXIT STATUS
The following exit values are returned: 0 Application exited successfully >0 Application exited with failure FILES
The following files are used by this application: /usr/bin/dbus-monitor Executable for dbus-monitor ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWdbus | +-----------------------------+-----------------------------+ |Interface stability |Volatile | +-----------------------------+-----------------------------+ SEE ALSO
dbus-cleanup-sockets(1), dbus-daemon(1), dbus-launch(1), dbus-send(1), dbus-uuidgen(1), libdbus-glib-1(3), attributes(5) NOTES
For authorship information refer to http://www.freedesktop.org/software/dbus/doc/AUTHORS. Updated by Brian Cameron, Sun Microsystems Inc., 2007. dbus-monitor was written by Philip Blundell. The profiling output mode was added by Olli Salli. Please send bug reports to the D-Bus mailing list or bug tracker, see http://www.freedesktop.org/software/dbus/ SunOS 5.11 19 Nov 2007 dbus-monitor(1)
All times are GMT -4. The time now is 12:58 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy