04-13-2014
All of that data is available in the /proc "filesystem" which is really a kernel maintained readonly dataset that has tons of information.
Since what you need is spread acoss several /proc files consider this primer on /proc
/proc
Note that if this is, for example, Oracle RedHat (or some other flavors of Linux) there are differences in what is or is not supported. Compared to the link above.
8 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I am the Linux Admin in my organisation and need to write a shell script which will monitor the machine statistics every day and will send a consolidated report to me on my email id / will display the output into a file.
Does anyone have such kind of script fulfilling this kind of purpose?
... (4 Replies)
Discussion started by: csaha
4 Replies
2. 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
3. Shell Programming and Scripting
Hi,
I have 2 shell scripts ,one for taking hot backup of oracle Database while other is for progress bar.
But I don't have an idea hoe should I incorporate the shell script of progress bar in my hot backup code .
Please help.
My shell script for hot backup is as below:
... (0 Replies)
Discussion started by: dwiravi
0 Replies
4. Shell Programming and Scripting
hi friends,
I am trying to automate the daily monitoring process of UNIX server and it's processes. the script are below
i executed the above script using ksh -x monitortest1.sh in root login . It shows error at some lines .
1. i logged in using root ,but it... (8 Replies)
Discussion started by: rdhaprakasam
8 Replies
5. Shell Programming and Scripting
Is there a way to have awk output its regular output to a file and some other stuff to a log file to monitor progress?
ie: print first field of a file and for every 100000 lines dealt with, print time in file.log (2 Replies)
Discussion started by: FrancoisCN
2 Replies
6. Red Hat
Hi all,
-------------------------
Linux OS Version/Release:
-------------------------
Red Hat Enterprise Linux Server release 5.5 (Tikanga)
Linux <hostname> 2.6.18-194.8.1.el5 #1 SMP Wed Jun 23 10:52:51 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux
I have a server that hosts 30+ Oracle... (1 Reply)
Discussion started by: newbie_01
1 Replies
7. Red Hat
I have 2 RHEL 5.9 system where customized applications are running.
These 2 servers are with in a network (LAN) with each other.One application in say Server 1 can talk to another application in server 2 and vice versa.
The applications are exchanging data among each other.
Recently I am... (0 Replies)
Discussion started by: Anjan Ganguly
0 Replies
8. 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
LEARN ABOUT HPUX
xtseteventdispatcher
XtSetEventDispatcher(3X) XT FUNCTIONS XtSetEventDispatcher(3X)
NAME
XtSetEventDispatcher - extension event handling
SYNTAX
XtEventDispatchProc XtSetEventDispatcher(display, event_type, proc)
Display *display;
int event_type;
XtEventDispatchProc proc;
ARGUMENTS
display Specifies the display.
event_type
Specifies the event type.
proc Specifies the proc.
DESCRIPTION
The XtSetEventDispatcher function registers the event dispatcher procedure specified by proc for events with the type event_type. The pre-
viously registered dispatcher (or the default dispatcher if there was no previously registered dispatcher) is returned. If proc is NULL,
the default procedure is restored for the specified type.
In the future, when XtDispatchEvent is called with an event of event_type, the specified proc (or the default dispatcher) will be invoked
to determine a widget to which to dispatch the event.
SEE ALSO
XtEventDispatchProc(3X) XtGetKeyboardFocusWidget(3X) XtInsertEventTypeHandler(3X), XtRemoveEventTypeHandler(3X), XtRegisterExtensionSelec-
tor(3X), XtDispatchEventToWidget(3X)
X Version 11 Release 6 XtSetEventDispatcher(3X)