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
SSHARE(1) SLURM Commands SSHARE(1)
NAME
sshare - Tool for listing the shares of associations to a cluster.
SYNOPSIS
sshare [OPTIONS...]
DESCRIPTION
sshare is used to view SLURM share information. This command is only viable when running with the priority/multifactor plugin. The sshare
information is derived from a database with the interface being provided by slurmdbd (SLURM Database daemon) which is read in from the
slurmctld and used to process the shares available to a given association. sshare provides SLURM share information of Account, User, Raw
Shares, Normalized Shares, Raw Usage, Normalized Usage, Effective Usage, and the Fair-share factor for each association.
OPTIONS
-A, --accounts=
Display information for specific accounts (comma separated list).
-a, --all
Display information for all users.
-h, --noheader
No header will be added to the beginning of the output.
-l, --long
Long listing - includes the normalized usage information.
-M, --clusters=<string>
Clusters to issue commands to.
-p, --parsable
Output will be '|' delimited with a '|' at the end.
-P, --parsable2
Output will be '|' delimited without a '|' at the end.
-u, --users=
Display information for specific users (comma separated list).
-v, --verbose
Display more information about the specified options.
-V, --version
Display the version number of sshare.
--help --usage Display a description of sshare options and commands.
SSHARE OUTPUT FIELDS
Account
The Account.
User The User.
Raw Shares
The raw shares assigned to the user or account.
Norm Shares
The shares assigned to the user or account normalized to the total number of assigned shares.
Raw Usage
The number of cpu-seconds of all the jobs that charged the account by the user. This number will decay over time when PriorityDe-
cayHalfLife is defined.
Norm Usage (only appears with sshare -l option)
The Raw Usage normalized to the total number of cpu-seconds of all jobs run on the cluster, subject to the PriorityDecayHalfLife
decay when defined.
Effectv Usage
The Effective Usage augments the normalized usage to account for usage from sibling accounts.
FairShare
The Fair-Share factor, based on a user or account's assigned shares and the effective usage charged to them or their accounts.
EXAMPLES
> sshare -A <Account>
> sshare --parsable --users=<User>
COPYING
Copyright (C) 2008 Lawrence Livermore National Security. Produced at Lawrence Livermore National Laboratory (cf, DISCLAIMER).
CODE-OCEC-09-009. All rights reserved.
This file is part of SLURM, a resource management program. For details, see <http://www.schedmd.com/slurmdocs/>.
SLURM is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free
Software Foundation; either version 2 of the License, or (at your option) any later version.
SLURM is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
SEE ALSO
slurm.conf(5), slurmdbd(8)
sshare 2.0 November 2008 SSHARE(1)