10 lines
264 B
Plaintext
10 lines
264 B
Plaintext
|
#!/bin/bash
|
||
|
|
||
|
(printf "%s | %s | %s %s | %s \n" \
|
||
|
"$(uname -norm)" \
|
||
|
"$(uptime -s)" \
|
||
|
"$(grep -c processor /proc/cpuinfo)" \
|
||
|
"$(grep -m 1 model\ name /proc/cpuinfo | cut -f 2 -d ':')" \
|
||
|
"$(grep MemTotal /proc/meminfo)") \
|
||
|
| sed 's/\s\+/ /g'
|