Workspaces/Advanced Features/ws list

From bwHPC Wiki
< Workspaces‎ | Advanced Features
Revision as of 15:14, 2 December 2025 by M Janczyk (talk | contribs) (Created page with "= ws_list - List Workspaces = == Sorting Options == * <tt>-N</tt> - Sort by name (alphabetical) * <tt>-C</tt> - Sort by creation date * <tt>-R</tt> - Sort by remaining time (see what expires soon) * <tt>-r</tt> - Reverse sort order == Display Format Options == * <tt>-s</tt> - Short format (only names, good for scripts) * <tt>-t</tt> - Terse format * <tt>-v</tt> - Verbose format with all metadata == Filtering Options == * <tt>-F <location></tt> - List workspaces on...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

ws_list - List Workspaces

Sorting Options

  • -N - Sort by name (alphabetical)
  • -C - Sort by creation date
  • -R - Sort by remaining time (see what expires soon)
  • -r - Reverse sort order

Display Format Options

  • -s - Short format (only names, good for scripts)
  • -t - Terse format
  • -v - Verbose format with all metadata

Filtering Options

  • -F <location> - List workspaces on specific filesystem only
  • -g - List group workspaces (if you're in the same group)
  • -l - List available filesystem locations

Examples

List group workspaces:

  $ ws_list -g

This shows all workspaces that were created with -g or -G flags by members of your group.

List workspaces by expiration:

  $ ws_list -Rr

This shows workspaces sorted by remaining time in reverse order, so the ones expiring soonest appear first.

List available filesystems:

  $ ws_list -l

Shows which filesystem locations are available for workspaces on your cluster.

Note About Expired Workspaces

To list expired workspaces that can be restored, use ws_restore -l. See ws_restore for details.

For more information: $ ws_list -h or man ws_list