projects
/
grml-tips.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
4e933a0
)
Update block_dump tip, merge the two existing tips.
author
Michael Prokop
<mika@grml.org>
Mon, 19 Mar 2007 18:53:35 +0000
(19:53 +0100)
committer
Michael Prokop
<mika@grml.org>
Mon, 19 Mar 2007 18:53:35 +0000
(19:53 +0100)
debian/changelog
patch
|
blob
|
history
grml_tips
patch
|
blob
|
history
diff --git
a/debian/changelog
b/debian/changelog
index
ba6a304
..
cf5c49d
100644
(file)
--- a/
debian/changelog
+++ b/
debian/changelog
@@
-1,3
+1,9
@@
+grml-tips (0.3.26) unstable; urgency=low
+
+ * Update block_dump tip, merge the two existing tips.
+
+ -- Michael Prokop <mika@grml.org> Mon, 19 Mar 2007 19:53:14 +0100
+
grml-tips (0.3.25) unstable; urgency=low
* Fix timezone tip: it's not 'hwclock --hctosys' but 'hwclock --systohc'
grml-tips (0.3.25) unstable; urgency=low
* Fix timezone tip: it's not 'hwclock --hctosys' but 'hwclock --systohc'
diff --git
a/grml_tips
b/grml_tips
index
09a8305
..
29fa996
100644
(file)
--- a/
grml_tips
+++ b/
grml_tips
@@
-1756,12
+1756,14
@@
Start X and lock console via exiting:
% startx 2>~/.xsession-errors &| exit
--
% startx 2>~/.xsession-errors &| exit
--
-Which process is writing to disk?
+Which process is writing to disk
and/or causes the disk to spin up
?
# echo 1 > /proc/sys/vm/block_dump
# echo 1 > /proc/sys/vm/block_dump
-Warning: you must disable syslogd before you do this, or you must
-make sure that kernel output is not logged.
+The command sets a sysctl to cause the kernel to log all disk
+writes. Please notice that there is a lot of data. So please
+disable syslogd/syslog-ng before you do this, or you must make
+sure that kernel output is not logged.
When you're done, disable block dump using:
# echo 0 > /proc/sys/vm/block_dump
When you're done, disable block dump using:
# echo 0 > /proc/sys/vm/block_dump
@@
-1769,6
+1771,10
@@
When you're done, disable block dump using:
Alternative:
laptop-mode-tools provides a tool named lm-profiler (laptop mode profiler)
which handles block_dump on its own.
Alternative:
laptop-mode-tools provides a tool named lm-profiler (laptop mode profiler)
which handles block_dump on its own.
+
+See: $KERNEL-SOURCE/Documentation/laptop-mode.txt
+
+Also take a look at event-viewer(8) which is part of grml-debugtools.
--
Install initrd via initramfs-tools for currently running kernel:
--
Install initrd via initramfs-tools for currently running kernel:
@@
-2380,17
+2386,6
@@
EOF
Start dnsmasq finally:
# Restart dnsmasq
--
Start dnsmasq finally:
# Restart dnsmasq
--
-Find out which process(es) cause the disk to spin up:
-
-# echo 1 > /proc/sys/vm/block_dump
-
-The command sets a sysctl to cause the kernel to log all disk
-writes. Please notice that there is a lot of data.
-
-See: $KERNEL-SOURCE/Documentation/laptop-mode.txt
-
-Also take a look at event-viewer(8).
---
Display stats about memory allocations performed by a program:
Usage example for 'ls':
Display stats about memory allocations performed by a program:
Usage example for 'ls':