Skip to content

New diagnose script #102

Description

@mboisson

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 of file <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)

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions