09-30-2011
monitoring various things (mainly activity) on different unix boxes
Hi there,
I want to ask you guys what you think about my problem.
I work as a sysadmin on about 7000 workstations or so and to save money and energy, we've decided to switch off as many workstations as possible during the night (probably by shutting it down by cron and power it on by WakeOnLAN).
We're also planning to develop a custom portal to let users choose if the workstation they're using cannot be shut down.
All of this is currently under discussion, and for now I need to report the nightly activity on a selection of workstations (RHEL4, RHEL5 and HP-UX 11.11), here is what I need :
- monitor if there's local user logged on the workstation
- monitor if there's remote user logged on the workstation
- activity of those users if applicable
- process running
Of course I first thought about the "ps -ef" and the "who" commands but there's about 50 workstations to monitor (during 2 weeks or so) and I'm not really a shell script guru and of course data collected must be compiled easily for me to report...
What do you think is the best option ?
Thanks
9 More Discussions You Might Find Interesting
1. Programming
Hi !
Please tell me how to get radio buttons, text boxes , check boxes , option buttons , pull down menus in C++ on Unix.
I think it would be done using curses.h ..but that's all i know.
TIA,
Devyani. (3 Replies)
Discussion started by: devy8
3 Replies
2. UNIX for Dummies Questions & Answers
I have been asked to write a unix script to log and report all users logging on to our unix boxes as either the root or oracle users only on a 24 hour basis.
This should trap the logon and logoff time,if possible what they are doing and their username.
Thanks in Advance (2 Replies)
Discussion started by: irehman
2 Replies
3. UNIX for Dummies Questions & Answers
Hello,
does anyone have a script that can check the contents of the /tmp directory and for example e-mail the directory content if anything other than session files are present?
Maybe there are better ways to monitor suspicous /tmp and /var/tmp activity, if so I'm listening :) (1 Reply)
Discussion started by: jamesbond
1 Replies
4. UNIX for Dummies Questions & Answers
Once upon a looong time ago I used to work with Unix systems - SGI mainly.
Now I've inherited 2 boxes - an SGI dual processor Octane and an Indigo2. For the past 2 years they've sat waiting for me to do something with them and never getting round to it.
I run a windows network at home so... (3 Replies)
Discussion started by: JimmyChang
3 Replies
5. UNIX for Dummies Questions & Answers
I am really confused as to how to install a piece of software on Unix especially after having worked with Windows for over 10 years.
I see the tar.gz, tar.gz2 and rpm packages.
How do I install these things? Do I have to be a root to do this?
If its only the root, then how do users generally... (4 Replies)
Discussion started by: Legend986
4 Replies
6. AIX
Hi All,
I would like to monitor the volume of Data that is transferred through a single port in AIX. I have nmon installed in my machine. What is the best possible solution for this problem.
Thanks in Advance. (3 Replies)
Discussion started by: bravo13
3 Replies
7. Solaris
Hello,
First post so bear with me....i've done lost of searches on this and did not find a definitive answer.
I need to be able to capture in log every single keystroke a user performs, I am aware that the script command can be used to do this, however, here is my dilemma/problem.
Here... (1 Reply)
Discussion started by: giles.cardew
1 Replies
8. Solaris
Hi
How to configure sudo in all unix boxes.
plz provide the step by step process.
Regards
Praveen (3 Replies)
Discussion started by: tv.praveenkumar
3 Replies
9. 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
LEARN ABOUT DEBIAN
auplay
AUPLAY(1) General Commands Manual AUPLAY(1)
NAME
auplay - play a sound file to a Network Audio System server
SYNOPSIS
auplay [-audio servername] [-volume 0-100] [-i] [-I] [-l] files...
DESCRIPTION
The auplay program can be used to play audio data stored in the .SND, .AU, or .WAV formats common on Sun workstations and PCs. It is typi-
cally used from shell scripts or command line procedures. If no filenames are given on the command line, audio data will be read fron
stdin, unless the -l option is given.
OPTIONS
The following options may be used with the auplay program:
-audio servername
This option specifies the Network Audio System server on which the files should be played.
-volume 0-100
This option specifies the volume at which the data should be played as a percentage of the maximum possible volume. The default is
100 percent.
-i This option indicates that the header information associated with the sound data should be printed along with playing the data.
-I This option indicates that the header information associated with the sound data should be printed instead of playing the data.
-l This option indicates that a list of filenames is to be read from stdin. auplay will play these files after playing any files
given explicitly as command line arguments.
SEE ALSO
nas(1), auctl(1), audemo(1), autool(1)
COPYRIGHT
Copyright 1993, 1994 Network Computing Devices, Inc.
AUTHOR
Greg Renda, Network Computing Devices, Inc.
1.9.3 AUPLAY(1)