06-06-2009
basic computer usage report
Our small company, about 5 users, need a basic script that scans mapped network drives (example: drive b,c,d, e, and f) for hard drive usage. This needs to send a report to myself in any type of basic notepad format (easy to read and decipher) for drives that have reached 80% usage... any ideas?
(I am a windows guy thrown into the Linux world)
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hey Guys I need help quick!
Our regular SYSOP is ill and I've been assigned
the job of creating a usage report.
I've got to figure out who has logged on in the
last month and how long they were logged on. (4 Replies)
Discussion started by: larryprg
4 Replies
2. UNIX for Dummies Questions & Answers
Is there a program on Linux that allows you to monitor Hard Disk, RAM, and CPU Usage. (Would be nice to see CPU Temp as well).
We have a Linux firewall, with an AMD Duron 950 CPU, 256MB RAM. It seems to fall over when too many people access the website. It is maintained by another company and... (5 Replies)
Discussion started by: potter
5 Replies
3. AIX
how to i find out the disk usage on a server.
say in windows examples its like C:/ D:/ and checking out the disk space.
how can i find in Unix.
can i just use df -k (3 Replies)
Discussion started by: karthikosu
3 Replies
4. UNIX for Dummies Questions & Answers
Hello everybody, iam new to unix. here is a question i had.
when i run errpt -a , sample out put is as follows
LABEL: FCP_ARRAY_ERR4
IDENTIFIER: D5385D18
Date/Time: Mon Sep 25 11:15:59
Sequence Number: 182869
Machine Id: 000166784C00
Node Id: ... (0 Replies)
Discussion started by: karthikosu
0 Replies
5. Programming
I am trying to write a program that will;
1) Show the message "Snoozing now...zzzz" on the screen for 5 seconds
2) Then in the same position show the message "The ALARM is going off now!" for 5 seconds
3) Repeat 1) then 2) infinitely until user presses Ctrl C
I can't make it work. Any hints... (17 Replies)
Discussion started by: enuenu
17 Replies
6. Shell Programming and Scripting
Hi! I have a simple question about using a for loop.
I'm trying to open up all the zip files in the currect directory with ark, but I am getting the error "bash: syntax error near unexpected token `for $i ; do ark $i ; done ;
I looked in the info pages for bash, but I can't seem to figure... (2 Replies)
Discussion started by: Orange Stripes
2 Replies
7. HP-UX
how can I find cpu usage memory usage swap usage and
I want to know CPU usage above X% and contiue Y times and memory usage above X % and contiue Y times
my final destination is monitor process
logical volume usage above X % and number of Logical voluage above
can I not to... (3 Replies)
Discussion started by: alert0919
3 Replies
8. Shell Programming and Scripting
Hi! I need help with this:
I want to write an AWK script, that matches computer usage of users, listed at the available log file, Users.log.
Which is how many times a user has entered, and how much time was logged in?
for example:
$ cat Users.log
user1; login, 2009-03-26, 10:30 ... (1 Reply)
Discussion started by: Ferenc87
1 Replies
9. UNIX for Dummies Questions & Answers
Hi,
A basic sed question.
I have a set of files. In each file there is a number that I want replaced. For example, if I run sed I should get the following:
% cat test2.txt
#goofy//171.00
goofy 171.00
% sed -i 's/171/xxx/g' test2.txt
% cat test2.txt
#goofy//xxx.00
goofy xxx.00
... (2 Replies)
Discussion started by: pc2001
2 Replies
LEARN ABOUT NETBSD
mlxctl
MLXCTL(8) BSD System Manager's Manual MLXCTL(8)
NAME
mlxctl -- Mylex DAC960 family management utility
SYNOPSIS
mlxctl [-f dev] [-v] [-a] status [drive] [...]
mlxctl [-f dev] [-a] detach [drive] [...]
mlxctl [-f dev] [-a] check [drive] [...]
mlxctl [-f dev] rebuild channel:target
mlxctl [-f dev] cstatus
mlxctl [-f dev] rescan
mlxctl [-f dev] config
DESCRIPTION
The mlxctl utility performs status monitoring and management functions for Mylex DAC960 RAID controllers and attached devices.
The following options are available:
-a Apply the action to all drives attached to the controller.
-f dev Specify the control device to use. The default is /dev/mlx0.
-v Increased verbosity.
The following commands are available:
cstatus Display the controller's current status.
status Display the status of the specified drives. This command returns 0 if all drives tested are online, 1 if one or more drives are
critical and 2 if one or more are offline.
rescan Re-scan the logical drive table, and attach or detach devices from the system as necessary.
detach Detach the specified drives. Drives must be unmounted and unopened for this command to succeed.
check Initiate a consistency check and repair pass on a drive that provides redundancy (e.g., RAID1 or RAID5). This command returns imme-
diately. The status command can be used to monitor the progress of the check.
rebuild Rebuild onto the specified physical drive. Note that there can be only one running rebuild operation per controller at any given
time. This command returns immediately. The cstatus command can be used to monitor the progress of the rebuild.
config Write the current system drive configuration to stdout.
EXAMPLES
Display the status of drive ld3 attached to the controller mlx1:
mlxctl -f /dev/mlx1 -v status ld3
SEE ALSO
ld(4), mlx(4)
HISTORY
The mlxctl command first appeared in NetBSD 1.5.3, and was based on the mlxcontrol utility found in FreeBSD.
BUGS
Modifying drive configuration is not yet supported.
Some commands do not work with older firmware revisions.
Error log extraction is not yet supported.
BSD
April 10, 2000 BSD