Skip to content
Permalink
Browse files

add rsp info processes kill doc

  • Loading branch information...
ocourtin committed Sep 29, 2019
1 parent b5ae16e commit fb9b5292e36a98c1a7b213d2d1806c7d03b339a3
Showing with 5 additions and 1 deletion.
  1. +3 −0 docs/tools.md
  2. +2 −1 robosat_pink/tools/info.py
@@ -142,6 +142,9 @@ usage: rsp info [-h] [--processes]
optional arguments:
-h, --help show this help message and exit
--processes if set, output GPU processes list
Usages:
To kill GPU processes: rsp info --processes | xargs sudo kill -9
```
## rsp predict
```
@@ -8,7 +8,8 @@


def add_parser(subparser, formatter_class):
parser = subparser.add_parser("info", help="Provide informations", formatter_class=formatter_class)
epilog = "Usages:\nTo kill GPU processes: rsp info --processes | xargs sudo kill -9"
parser = subparser.add_parser("info", help="Provide informations", formatter_class=formatter_class, epilog=epilog)
parser.add_argument("--processes", action="store_true", help="if set, output GPU processes list")
parser.set_defaults(func=main)

0 comments on commit fb9b529

Please sign in to comment.
You can’t perform that action at this time.