WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: [SOLVED] iostat and vmstat doesn't seems to work - Core 5.2 and dCore 5.14.01.01  (Read 3626 times)

Offline ibaloo

  • Newbie
  • *
  • Posts: 19
Hello,

When I launch "sudo vmstat 2 6" or iostat i get "ash : vmstat :command not found". Top and ps are working fine.

Maybe a problem with procps ?
« Last Edit: February 12, 2014, 10:32:55 AM by ibaloo »

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11049
Re: iostat and vmstat doesn't seems to work - Core 5.2 and dCore 5.14.01.01
« Reply #1 on: February 11, 2014, 01:09:18 PM »
vmstat works fine for me on core 5.2?
The only barriers that can stop you are the ones you create yourself.

Offline tinypoodle

  • Hero Member
  • *****
  • Posts: 3857
Re: iostat and vmstat doesn't seems to work - Core 5.2 and dCore 5.14.01.01
« Reply #2 on: February 11, 2014, 05:23:24 PM »
"top" and "ps" are included in base (busybox applets).
"Software gets slower faster than hardware gets faster." Niklaus Wirth - A Plea for Lean Software (1995)

Offline ibaloo

  • Newbie
  • *
  • Posts: 19
Re: iostat and vmstat doesn't seems to work - Core 5.2 and dCore 5.14.01.01
« Reply #3 on: February 12, 2014, 08:24:19 AM »
Strange. Is it because I run tiny core on Qemu (v. 1.5.3) ? Since it's a full emulator it does not change anything to the way /proc works as far as i know.

But vmstat command still not work. i have a vmstat file in /proc with all datas, but no vmstat command, using sudo or not. Same with latest Core ans dCore.

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11049
Re: iostat and vmstat doesn't seems to work - Core 5.2 and dCore 5.14.01.01
« Reply #4 on: February 12, 2014, 08:30:16 AM »
Perhaps your procps extension is corrupted?
The only barriers that can stop you are the ones you create yourself.

Offline ibaloo

  • Newbie
  • *
  • Posts: 19
Re: iostat and vmstat doesn't seems to work - Core 5.2 and dCore 5.14.01.01
« Reply #5 on: February 12, 2014, 08:33:26 AM »
Ok - my fault. Procps is not in core, it's an extension. I thought it was in because a vmstat file existed in /proc.

Sorry for time lost guys :-(

Really core is hard-CORE ^^