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)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions