This repository has been archived by the owner on Dec 7, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 19
/
README
128 lines (86 loc) · 4.13 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
PLEASE NOTE: This project has been archived and is no longer actively developed.
PBS Tools
Copyright 2005-2019, Ohio Supercomputer Center
Copyright 2008-2015, University of Tennessee
Website: http://www.osc.edu/~troy/pbstools/
Git repo: https://github.com/tabaer/pbstools
PBS Tools is a collection of utilities that have been developed at
OSC, NICS, and elsewhere to aid in the administration and management
of PBS variants (including OpenPBS, PBS Pro, and TORQUE). They have
been developed primarily on Linux clusters, but most of them should be
applicable to virtually any system running PBS.
User tools:
-----------
bin/ja -- Job accounting within a PBS job; similar to "ja" in NQE.
bin/pbsdcp -- Distributed copy command within a PBS job. This can
optionally include an MPI-based scatter functionality that should
scale better than the default rcp-based approach.
bin/qexec -- Workalike for SGE qlogin/qrsh/qsh
bin/parallel-command-processor -- An MPI program for running an array
of serial jobs in the context of a single parallel job (a.k.a. the poor
man's job arrays).
bin/supermover -- A highly configurable data movement tool that can
wrap scp, globus-url-copy, hsi, and a host of other data movement
utilities.
bin/dmsub -- Submits data movement jobs using a variety of batch and
data movement back-ends; understands the transfer description formats
of RFT, DMover, and Stork. May rely on supermover, depending on how
it's configured.
bin/dagsub -- A workalike for condor_submit_dag. This allows the
submission of large, complex sets of dependent jobs using a relatively
simple syntax. Relies on dmsub for emulating Stork data movement jobs.
Admin tools:
------------
bin/js -- Command line lookup of job scripts in the accounting
database.
bin/jobinfo -- Command line lookup of usage data in the accounting
database.
sbin/reaver -- Find (and optionally clean up) processes on a host
which have not been allocated jobs on that host; requires root
privilege.
Database/web tools:
-------------------
Note: these all assume a MySQL DB back end running on the same server
as pbs_server and PHP-enabled httpd.
etc/create-tables.sql -- Create "pbsacct" database, table, and two
user accounts (pbsacct and webapp) used by the other DB tools. To
initialize, run "mysql -u root -p passwd <create-tables.sql".
sbin/job-db-update -- Parses PBS job accounting records and inserts
them into DB.
sbin/jobscript-to-db -- Inserts one or more job scripts into the job DB.
sbin/spool-jobscripts -- Spools newly submitted jobscripts to /tmp and
then invokes jobscript-to-db on them.
web/jobinfo.php -- Presents information on a single job based from the
job DB.
web/jobs-by-user.php -- Presents information on all jobs by a given
user (over an optional date range) from the job DB.
web/jobs-by-group.php -- Presents information on all jobs by a given
group (over an optional date range) from the job DB.
web/jobs-by-node.php -- Presents information on all jobs on a given
node (over an optional date range) from the job DB.
web/jobstats*.php -- Presents statistics on all jobs (over an optional
date range) from the job DB.
web/software-usage*.php -- Presents information on software
usage on all jobs (over an optional date range) from the job DB.
web/active-users.php -- Presents a list of the most active users over
a date range.
web/active-groups.php -- Presents a list of the most active groups over
a date range.
web/problem-jobs.php -- Searches for potentially problematic jobs over
a date range. (Note that what constitutes "problematic" is extremely
site specific.)
web/usage-summary.php -- Presents a usage summary over a date range.
web/site-specific.php -- Site specific settings.
web/sql-term.php -- "Terminal" for running arbitrary SQL queries on
job DB.
examples/db-example -- An example of putting job data from multiple PBS
instances into a single job DB.
Suggestions:
------------
Comments and suggestions on this software are welcomed; please send
them to Troy Baer <[email protected]>.
Copyright:
----------
PBS Tools are copyright 2005-2019 Supercomputer Center and/or
copyright 2008-2015 University of Tennessee, and are licensed under
the terms of the GNU GPL v2.