aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--src/sledjchisl/sledjchisl.c12
1 files changed, 11 insertions, 1 deletions
diff --git a/src/sledjchisl/sledjchisl.c b/src/sledjchisl/sledjchisl.c
index 08ae17c..4b3527b 100644
--- a/src/sledjchisl/sledjchisl.c
+++ b/src/sledjchisl/sledjchisl.c
@@ -1848,11 +1848,21 @@ void doSimsThing(simData *simd, char *sim, char *type, int count, int window, in
1848 break; 1848 break;
1849 } 1849 }
1850 1850
1851 case STATUS : 1851 case RESTART : // "restart 'Welcome sim'" "restart Welcome.shini" "Welcome.shini restart" "restart Welcome.ini" "restart Welcome" "restart" restart everything
1852 { 1852 {
1853 break; 1853 break;
1854 } 1854 }
1855 1855
1856 case STATUS : // "status 'Welcome sim'" "status Welcome.shini" "Welcome.shini status" "status Welcome.ini" "status Welcome" "status" status everything
1857 {
1858// TODO - report CPU and memory used as well.
1859 if (checkSimIsRunning(simd->tab))
1860 I("%s is running in Tmux tab [%d:%s](pane %d) tmux ID %s, from %s/sim%d", simd->name, window, type, pane, simd->paneID, scTemp, count);
1861 else
1862 I("%s is not running.", simd->name);
1863 break;
1864 }
1865
1856 case STOP : // "stop 'Welcome sim'" "stop Welcome.shini" "Welcome.shini stop" "stop Welcome.ini" "stop Welcome" "stop" stop everything 1866 case STOP : // "stop 'Welcome sim'" "stop Welcome.shini" "Welcome.shini stop" "stop Welcome.ini" "stop Welcome" "stop" stop everything
1857 { 1867 {
1858 if (checkSimIsRunning(simd->tab)) 1868 if (checkSimIsRunning(simd->tab))