FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
GameServerFramework/tools/MonitorSystem.sh at master · bbf97/GameServerFramework · GitHub
bbf97
/
GameServerFramework
Public
forked from
AtlasWing/GameServerFramework
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
GameServerFramework
/
tools
/
MonitorSystem.sh
Copy path
More file actions
More file actions
Latest commit
History
History
History
5 lines (5 loc) · 368 Bytes
Breadcrumbs
GameServerFramework
/
tools
/
MonitorSystem.sh
Copy path
File metadata and controls
5 lines (5 loc) · 368 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
#!
/bin/bash
#
uptime | awk '{system("date +%m-%d:%H:%M:%S"); print $0}' >>/var/log/uptime.log
nohup vmstat 10
|
awk
'
{system("date +%m-%d:%H:%M:%S"); print $0}
'
>>
/var/log/vmstat.log
&
nohup nicstat 10
|
awk
'
{system("date +%m-%d:%H:%M:%S"); print $0}
'
>>
/var/log/nicstat.log
&
nohup iostat 10
|
awk
'
{system("date +%m-%d:%H:%M:%S"); print $0}
'
>>
/var/log/iostat.log
&
Back
|
FazBrowse Home
|
New Git URL