10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I want to see top 5 users,who have occupied most amount of disk space in a filesystem.
But not sure how to do it.
I can get the usage for a particular user
find . -user user -type f exec df -h {} \;|awk '{ s = s+$1 } END { print "Total used: ",s }'
But how to get without specifying any user... (6 Replies)
Discussion started by: rka
6 Replies
2. AIX
Dear All,
One production Server is affected by high usage.
Application is slow now. Please guide me how to solve it?
NMON Report shows full cpu usage.
Here im posting some server details.
bash-3.2# lparstat -i
Node Name : *********
Partition Name ... (6 Replies)
Discussion started by: Thala
6 Replies
3. Shell Programming and Scripting
Hey, I'm trying to make a script that can list users and their storage usage in a file. Im trying to get it to where the format is:
User xxkbs
User2 xkb
and so on. So far I figured out how to get the users, but I cannot figure out how to get the storage usage per user.
This is what... (2 Replies)
Discussion started by: HakerDemon
2 Replies
4. UNIX for Dummies Questions & Answers
I was wondering if there was a way to set resource usage per user. For example, if I use "grep -f <file1> <file2>" and the two files are very big it consumes a lot of resources. Onetime someone pinged me and asked what the hell I was doing and to kill it. Is there any way an SA can restrict... (7 Replies)
Discussion started by: MaindotC
7 Replies
5. AIX
Hi!
Is there any way to balance CPU usage between users on percentage basis? Something like Resource Manager in Oracle databases.
Regards.
---------- Post updated at 02:17 PM ---------- Previous update was at 02:09 PM ----------
Workload Manager?
---------- Post updated at 03:44 PM... (0 Replies)
Discussion started by: bas_ua
0 Replies
6. UNIX for Advanced & Expert Users
Hi:
it takes a long time for "du -sh list_of_users" to give you the output.
Is there a quicker way to get this info?
Thanks!
N.B. Phil (4 Replies)
Discussion started by: phil518
4 Replies
7. AIX
How to monitor the IBM AIX server for I/O usage, memory usage, CPU usage, network usage, storage usage? (3 Replies)
Discussion started by: laknar
3 Replies
8. 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
9. UNIX and Linux Applications
hi,
i'm trying to grant usage to multiple users whose ids are in a file. i thought that i could put the mysql code within a while loop, but that's not working for me:
while read user; do
userid=$user
passwd="changeme"
query="grant usage on mysql.USERS.* to $userid... (2 Replies)
Discussion started by: ankimo
2 Replies
10. UNIX for Dummies Questions & Answers
Hello,
I'm looking for a command or script that could permit me to know what is memory usage group by HP-UX kernel, oracle processes and other users (specific software).
A command like 'top' but for all processes and not only for 12 max could be very useful
Thanks in advance (4 Replies)
Discussion started by: thierryUX
4 Replies
CPU(8) System Manager's Manual CPU(8)
NAME
cpu - A tool for user and group administration
SYNOPSIS
cpu [OPTIONS]
DESCRIPTION
CPU is a tool for user administration, that was initially based on FreeBSD's pw(8). This tool will allow you to administer users and groups
on several different backends currently including LDAP and flat files. Please see the website http://cpu.sourceforge.net for more informa-
tion, or help improve the man page.
OPTIONS
There are two kinds of options; options for CPU and options for CPU modules. There are only four options for CPU, they are as follows:
-C configfile, --config configfile
The configuration file to be used by CPU. The options in this file are used for CPU modules.
-h, --help
Display help for CPU. If specified in conjunction with the -m option the help for that particular module is displayed.
-M method, --method=method
This is the method of administration. Current options are ldap or passwd (passwd is not yet working). This can be specified in the
configuration file.
-V, --version
Display the version of the software.
SEE ALSO
cpu.conf(5) cpu-ldap(8)
AUTHORS
Blake Matheny <bmatheny@purdue.edu>
The current version of this software is always availabe at http://cpu.sourceforge.net
BUGS
To report a bug or problem, please e-mail:
cpu-users@lists.sourceforge.net
TODO
See TODO file that accompanied software. Please e-mail us with any additional suggestions.
17 February 2003 CPU(8)