Skip to content

Commit

Permalink
Add commands
Browse files Browse the repository at this point in the history
  • Loading branch information
JacksonTian committed Jul 14, 2015
0 parents commit 8a32bd0
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 0 deletions.
3 changes: 3 additions & 0 deletions get_alinode_version
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/bash

node -p 'process.alinode'
3 changes: 3 additions & 0 deletions get_node_version
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/bash

node -v
3 changes: 3 additions & 0 deletions get_processes
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/bash

ps -e -o pid,command | grep $1 | grep -v grep
3 changes: 3 additions & 0 deletions get_release
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/bash

node -p 'require("os").release()'

0 comments on commit 8a32bd0

Please sign in to comment.