-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added --all capability. Cleaned up user's --details output.
The --all capability works now, going through and finding each node without duplication due to interconnection of hostgroups. The output of a user's --details is now less cluttered and more appealing. It displays all jobs running on nodes the specified user's jobs are running on. Also display's virtual memory. Slightly changed the amount of characters the screenwidth is when using --visual or -v, from 120 to 119 and only displaying 39 cores on a line instead of 40. This is done as when using split panes in Tmux it looked funky, so to have it line up better it uses one less core per line.
- Loading branch information
Showing
4 changed files
with
79 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,13 @@ | ||
.\" Manpage for node_search.py. | ||
.\" Contact [email protected] to correct typos or errors. | ||
.TH man 1 "17 MAY 2017" "1.0.2" "node_search man page" | ||
.TH man 1 "18 MAY 2017" "1.0.3" "node_search man page" | ||
.SH NAME | ||
node_search \- get node, user, or host-group information from Univa Grid Engine | ||
.SH SYNOPSIS | ||
\fBnode_search.sh \fR[\fB-h\fR, \fB--help\fR] [\fB-d\fR, \fB--debug\fR] [\fB-g\fR, \fB--general_access\fR] | ||
[\fB-H\fR, \fB --hosts\fR] [\fB-hostname\fR] [\fB-u\fR, \fB--user username\fR] [\fB-uf username\fR] [\fB-U\fR] | ||
[\fB-v\fR, \fB--visual\fR] | ||
\fBnode_search.sh \fR[\fB-h\fR, \fB--help\fR] [\fB-d\fR, \fB--debug\fR] [\fB-a\fR, \fB--all\fR] | ||
[\fB-g\fR, \fB--general_access\fR] [\fB-H\fR, \fB --hosts\fR] [\fB-hostname\fR] | ||
[\fB-u\fR, \fB--user username\fR] [\fB-uf username\fR] [\fB-U\fR] [\fB-v\fR, \fB--visual\fR] | ||
|
||
.SH DESCRIPTION | ||
\fRnode_search is a python 3 script which gathers information from the Univa Grid Engine and displays | ||
that information to stdout, which can then be redirected as desired. The following information can be obtained: | ||
|
@@ -94,9 +95,9 @@ Examples below. | |
\fB--details\fR depends on what it is modifying. If it is modifying the debug or long queues or a | ||
specifed host-group, then the output will show all of the machines/nodes that belong to that queue | ||
or host-group. Each one of those nodes will also show its core usage (used vs total). If \fB--details | ||
\fR is modifying a user, then all of the nodes that the user has jobs running on will be displayed, | ||
\fRis modifying a user, then all of the nodes that the user has jobs running on will be displayed, | ||
along with every other job running on that specific node. If the user has any pending jobs then those | ||
will be shown as well. If \fB--details\fR is modifying the \fB-uf \fRoption, then it will display | ||
will be shown as well. If \fB--details \fRis modifying the \fB-uf \fRoption, then it will display | ||
all of the nodes which belong to the host-groups the specified user has access to. | ||
|
||
." END OPTIONS !! | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters