mirror of
https://github.com/YunoHost-Apps/linuxdash_ynh.git
synced 2024-09-03 19:36:07 +02:00
7 lines
124 B
Bash
7 lines
124 B
Bash
|
#!/bin/bash
|
||
|
|
||
|
result=$(/usr/bin/lscpu \
|
||
|
| /usr/bin/awk -F: '{print "\""$1"\": \""$2"\"," } '\
|
||
|
)
|
||
|
|
||
|
echo "{" ${result%?} "}"
|