-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Description
https://github.com/ComputeCanada/software-stack-custom/blob/main/bin/computecanada/diagnose.py, a diagnose script with the following interface:
diagnose <subcommand> <parameters>
Subcommands to implement:
-
job_script <job_id>=> displays the job script -
inspect <path>=> display the metadata of a path, for a directory, file ACLs,ls -d <path>, for a file: file ACLs, output offile <path>, `ls -d -
show <path>=> display the content of a path, for a directory, display the listing, for a file, show the content -
env=> display the environment in a login shell
...
== Restrictions ==
It must be read-only.
It must run as the user (i.e. assume no privilege)