https://github.com/generoi/server-status
A simple bash script to output the status of a webserver.
https://github.com/generoi/server-status
Last synced: 26 days ago
JSON representation
A simple bash script to output the status of a webserver.
- Host: GitHub
- URL: https://github.com/generoi/server-status
- Owner: generoi
- Created: 2015-08-15T18:31:26.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2015-08-15T18:48:51.000Z (almost 11 years ago)
- Last Synced: 2025-12-26T06:15:52.354Z (6 months ago)
- Language: Shell
- Size: 113 KB
- Stars: 0
- Watchers: 20
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
server-status.sh
================
A simple bash script to output the status of a web server (our web servers).
Displays:
- Memory Usage
- Swap Usage
- CPU Usage
- External IP
- Filesystem disk space
- Running services (relevant services)
- Open ports
- Top 10 processes by CPU usage
- Top 10 processes by RAM usage
- Zombie processes
### Installation
```sh
make install
```
### Usage
```
server-status [SSH OPTIONS]
A simple bash script to output the status of a webserver.
Usage:
server-status
Display the status of the computer running the script.
server-status foo@bar.com
Open a SSH session to foo@bar.com and run the script there.
server-status -i ~/.ssh/id_rsa foo@bar.com
All options passed will be delegated to the ssh command.
drush @production ssh bash -s < $(which server-status)
Run the command on a remote drush site alias.
Options:
-h --help Display this help and exit
```
