We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a64763d commit 4ae2116Copy full SHA for 4ae2116
docs/SysAdminCheatSheet.md
@@ -1,25 +1,25 @@
1
# Useful tools
2
3
## start webapp with pm2
4
-pm2 start --name=webapp npm -- start
+`pm2 start --name=webapp npm -- start`
5
6
## start caching with pm2
7
-pm2 start --name=caching npm -- cache
+`pm2 start --name=caching npm -- run cache --`
8
9
## show data usage
10
-vnstat -i eth0
+`vnstat -i eth0`
11
12
## show live bandwidth connections
13
-nload eth0
+`nload eth0`
14
15
## show live connections on port 80
16
-netstat -anp | grep :80 | wc -l
+`netstat -anp | grep :80 | wc -l`
17
18
## start caching with forever
19
-forever start -c "npm run cache" ./
+`forever start -c "npm run cache" ./`
20
21
## show incoming tcp connections
22
-sudo tcptrack -i eth0
+`sudo tcptrack -i eth0`
23
24
25
0 commit comments