10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I am writing a script to kick off a process to gather logs on multiple nodes in parallel using "&". These processes create individual log files. Which I would like to filter and convert in CSV format after they are complete. I am facing following issues:
1. Monitor all Processes parallelly.... (5 Replies)
Discussion started by: shunya
5 Replies
2. Shell Programming and Scripting
GM everyone,
I have this script that goes to multiple servers and monitor a certain process and send the output to a file on servers1, the script looks like this
Code:
exec < server.listwhile read SERVER do ssh $SERVER "ps -ef | grep process_name" >> /tmp/reportdone
can someone help me... (2 Replies)
Discussion started by: baders
2 Replies
3. Shell Programming and Scripting
GM everyone,
I have this script that goes to multiple servers and monitor a certain process and send the output to a file on servers1, the script looks like this
exec < server.list
while read SERVER
do
ssh $SERVER "ps -ef | grep process_name" >> /tmp/report
done
can someone help ad... (0 Replies)
Discussion started by: baders
0 Replies
4. Shell Programming and Scripting
Hi there,
I have to automate daily monitoring process and then the result of these process should be sent to a log file, then this log file should be mailed .
ps -ef | grep aa
In this atleast one process should run.
If the process is running it should mention Success in the log file... (3 Replies)
Discussion started by: NehaKrish
3 Replies
5. Shell Programming and Scripting
Hi All,
I have a Java application running in the background which process looks like this.
java -DMyService=Y -DWorkingDir
And I have a monitoring script which looks like this;
count_service=`ps -aef | grep MyService | wc -l`
if ; then
echo "Service_Stopped on `date`" >>... (6 Replies)
Discussion started by: swmk
6 Replies
6. Shell Programming and Scripting
I need a script on Solaris 10 OS to monitor 3 seperate processes running. Each process has 3 of the same processes running a total of 9 processes and I need the ability to know if all of processes for each process is running and to email me if they aren't running. I'm new to Unix programming and... (3 Replies)
Discussion started by: soupbone38
3 Replies
7. Shell Programming and Scripting
A coworker has a shell script that runs from a scheduler at the 3am. The shell script runs sqlplus passing in a sql statement, which generate a file. This is done 21 times for 21 different sql statements. Recently, one of the sqlplus processes got hung.
Is there a way to monitor how long the... (2 Replies)
Discussion started by: prismtx
2 Replies
8. Shell Programming and Scripting
hi all,
i would like to write the shell script to monitoring the processing, but if i passing the parameter the number of process is incorrect
how to slove it? many thx
got the correct number of process as following script:
===========================================================... (3 Replies)
Discussion started by: eric_wong_ch
3 Replies
9. Shell Programming and Scripting
I have a shell script which runs from 7AM to 3AM every day. The script performs certain monitoring functions and if it has a problem it may need to email someone about it. The problem is that the notification process was never modified to handle running past midnight (from 23:59:59 till 3AM). ... (0 Replies)
Discussion started by: rdc69
0 Replies
10. UNIX for Dummies Questions & Answers
I have an ftp process using vpn, my box is receiving data hit and miss from the host system. Any tool that can be used within unix (ksh) to monitor that ftp process? (2 Replies)
Discussion started by: arkhewit
2 Replies
dbus-monitor(1) General Commands Manual dbus-monitor(1)
NAME
dbus-monitor - debug probe to print message bus messages
SYNOPSIS
dbus-monitor [--system | --session | --address ADDRESS] [--profile | --monitor] [watch expressions]
DESCRIPTION
The dbus-monitor command is used to monitor messages going through a D-Bus message bus. See http://www.freedesktop.org/software/dbus/ for
more information about the big picture.
There are two well-known message buses: the systemwide message bus (installed on many systems as the "messagebus" service) and the
per-user-login-session message bus (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.
In order to get dbus-monitor to see 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_match function.
The message bus configuration may keep dbus-monitor from seeing all messages, especially if you run the monitor as a non-root user.
OPTIONS
--system
Monitor the system message bus.
--session
Monitor the session message bus. (This is the default.)
--address ADDRESS
Monitor an arbitrary message bus given at ADDRESS.
--profile
Use the profiling output format.
--monitor
Use the monitoring output format. (This is the default.)
EXAMPLE
Here is an example of using dbus-monitor to watch for the gnome typing monitor to say things
dbus-monitor "type='signal',sender='org.gnome.TypingMonitor',interface='org.gnome.TypingMonitor'"
AUTHOR
dbus-monitor was written by Philip Blundell. The profiling output mode was added by Olli Salli.
BUGS
Please send bug reports to the D-Bus mailing list or bug tracker, see http://www.freedesktop.org/software/dbus/
dbus-monitor(1)