After add "init=/sbin/bootchartd" to kernel command line, there are 2 processes after the system boot up.
# ps -ef | grep bootchartd
root 201 1 0 09:09 ? 00:00:00 /bin/sh /sbin/bootchartd
root 202 1 0 09:09 ? 00:00:00 /bin/sh /sbin/bootchartd
root 553 516 0 09:10 ? 00:00:00 grep bootchartd
Try to use "/sbin/bootchartd stop" to stop the process as below.
# /sbin/bootchartd stop
[bootchart] bootchart-collector started as pid 596 with 2 args:
[bootchart] '--dump'
[bootchart] '/tmp/bootchart.3lXpVDAq3v'
[bootchart] Extracting profile data from pid 204
[bootchart] map 0xbed9a000 -> 0xbedbb000 size: 132k from 'bed9a000' 'bedbb000'
[bootchart] read 135168 bytes of 135168
[bootchart] reading 150 chunks (of 150) ...
[bootchart] wrote 18760 kbB
[bootchart] bootchart-collector pid: 596 unmounted proc / clean exit
But there still one process exist after the above stop command finish.
# ps -ef | grep bootchartd
root 202 1 0 09:09 ? 00:00:00 /bin/sh /sbin/bootchartd
root 629 516 0 09:10 ? 00:00:00 grep bootchartd
After add "init=/sbin/bootchartd" to kernel command line, there are 2 processes after the system boot up. # ps -ef | grep bootchartd root 201 1 0 09:09 ? 00:00:00 /bin/sh /sbin/bootchartd root 202 1 0 09:09 ? 00:00:00 /bin/sh /sbin/bootchartd root 553 516 0 09:10 ? 00:00:00 grep bootchartd
Try to use "/sbin/bootchartd stop" to stop the process as below. # /sbin/bootchartd stop [bootchart] bootchart-collector started as pid 596 with 2 args: [bootchart] '--dump' [bootchart] '/tmp/bootchart.3lXpVDAq3v' [bootchart] Extracting profile data from pid 204 [bootchart] map 0xbed9a000 -> 0xbedbb000 size: 132k from 'bed9a000' 'bedbb000' [bootchart] read 135168 bytes of 135168 [bootchart] reading 150 chunks (of 150) ... [bootchart] wrote 18760 kbB [bootchart] bootchart-collector pid: 596 unmounted proc / clean exit
But there still one process exist after the above stop command finish. # ps -ef | grep bootchartd root 202 1 0 09:09 ? 00:00:00 /bin/sh /sbin/bootchartd root 629 516 0 09:10 ? 00:00:00 grep bootchartd