Comments (3)
Hi,
pm2-server-monit use english language to parse df
like this
Filesystem 1024-blocks Used Available Capacity Mounted on
udev 6092628 0 6092628 0% /dev
tmpfs 1222564 62764 1159800 6% /run
/dev/sda2 102424904 72201512 24997460 75% /
tmpfs 6112804 109888 6002916 2% /dev/shm
tmpfs 5120 4 5116 1% /run/lock
tmpfs 6112804 0 6112804 0% /sys/fs/cgroup
/dev/sda1 523248 3540 519708 1% /boot/efi
tmpfs 1222564 116 1222448 1% /run/user/1000
You can switch your system language to english or make a PR with multi language support.
from pm2-server-monit.
ok, thanks
from pm2-server-monit.
I changed drive.js line 10 to
cp.exec('export LANG=en_US.UTF-8; df -kP', { shell: true }, function(err, out) {
not the best solution but it should work :)
from pm2-server-monit.
Related Issues (20)
- Monitor multiple disk volumes HOT 1
- Monitor https://github.com/openhardwaremonitor/openhardwaremonitor
- Current pm2-server-monit when running inside containers
- BIOS information
- Motherboard infos
- systeminformation
- pm2-server-monit status errored HOT 1
- Error message incorrect - implying virus infection HOT 1
- USE Method: Linux Performance Checklist
- Add more CPU metrics
- Current version is broken on MacOS. [cp is not defined] HOT 1
- Add windowsHide to spawn calls HOT 1
- TypeError: Cannot read property 'v1' of undefined HOT 1
- Save monitored data HOT 4
- Running on windows, p2-server-monit is calling linux commands HOT 10
- TypeError: Bad argument HOT 1
- ifconfig -s
- pm2-server-monit issue
- Memory usage reported in pm2.io does not correspond to what is shown by `htop` HOT 2
- zombie process
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pm2-server-monit.