output of watch several commands not clear
I am restoring a database backup on my server and i wanted to watch output of df -h
and restore utility 'db2pd -utilities'. I tried this:watch -n 2 "db2pd -utilities && df -h
output(summarized):
Every 2.0s: db2pd -utilities && df -h
Database Member 0 -- Active -- Up 0 days 23:11:19
Utilities:
Address ID Type State Invoker Priority
0x000000E0 1 RESTORE 0 0 0
Progress:
Address ID PhaseNum CompletedWork
0x00003088 1 1 1073745920 bytes
Filesystem Size Used Avail Use% Mounted on
/dev/sda3 39G 824M 36G 3% /
tmpfs 253G 16K 253G 1% /dev/shm
/dev/sda2 194M 36M 149M 20% /boot
/dev/sda1 200M 264K 200M 1% /boot/efi
/dev/sda4 20G 215M 19G 2% /home
/dev/sda5 20G 1.4G 17G 8% /opt
/dev/sda9 166G 6.6G 151G 5% /tempWork
/dev/sda7 9.7G 152M 9.0G 2% /tmp
/dev/sda6 20G 227M 19G 2% /var
actually the outputs are more and long I had to remove some parts and they combine together and become hard to read. what should i use ti make space between them?
watch
add a comment |
I am restoring a database backup on my server and i wanted to watch output of df -h
and restore utility 'db2pd -utilities'. I tried this:watch -n 2 "db2pd -utilities && df -h
output(summarized):
Every 2.0s: db2pd -utilities && df -h
Database Member 0 -- Active -- Up 0 days 23:11:19
Utilities:
Address ID Type State Invoker Priority
0x000000E0 1 RESTORE 0 0 0
Progress:
Address ID PhaseNum CompletedWork
0x00003088 1 1 1073745920 bytes
Filesystem Size Used Avail Use% Mounted on
/dev/sda3 39G 824M 36G 3% /
tmpfs 253G 16K 253G 1% /dev/shm
/dev/sda2 194M 36M 149M 20% /boot
/dev/sda1 200M 264K 200M 1% /boot/efi
/dev/sda4 20G 215M 19G 2% /home
/dev/sda5 20G 1.4G 17G 8% /opt
/dev/sda9 166G 6.6G 151G 5% /tempWork
/dev/sda7 9.7G 152M 9.0G 2% /tmp
/dev/sda6 20G 227M 19G 2% /var
actually the outputs are more and long I had to remove some parts and they combine together and become hard to read. what should i use ti make space between them?
watch
add a comment |
I am restoring a database backup on my server and i wanted to watch output of df -h
and restore utility 'db2pd -utilities'. I tried this:watch -n 2 "db2pd -utilities && df -h
output(summarized):
Every 2.0s: db2pd -utilities && df -h
Database Member 0 -- Active -- Up 0 days 23:11:19
Utilities:
Address ID Type State Invoker Priority
0x000000E0 1 RESTORE 0 0 0
Progress:
Address ID PhaseNum CompletedWork
0x00003088 1 1 1073745920 bytes
Filesystem Size Used Avail Use% Mounted on
/dev/sda3 39G 824M 36G 3% /
tmpfs 253G 16K 253G 1% /dev/shm
/dev/sda2 194M 36M 149M 20% /boot
/dev/sda1 200M 264K 200M 1% /boot/efi
/dev/sda4 20G 215M 19G 2% /home
/dev/sda5 20G 1.4G 17G 8% /opt
/dev/sda9 166G 6.6G 151G 5% /tempWork
/dev/sda7 9.7G 152M 9.0G 2% /tmp
/dev/sda6 20G 227M 19G 2% /var
actually the outputs are more and long I had to remove some parts and they combine together and become hard to read. what should i use ti make space between them?
watch
I am restoring a database backup on my server and i wanted to watch output of df -h
and restore utility 'db2pd -utilities'. I tried this:watch -n 2 "db2pd -utilities && df -h
output(summarized):
Every 2.0s: db2pd -utilities && df -h
Database Member 0 -- Active -- Up 0 days 23:11:19
Utilities:
Address ID Type State Invoker Priority
0x000000E0 1 RESTORE 0 0 0
Progress:
Address ID PhaseNum CompletedWork
0x00003088 1 1 1073745920 bytes
Filesystem Size Used Avail Use% Mounted on
/dev/sda3 39G 824M 36G 3% /
tmpfs 253G 16K 253G 1% /dev/shm
/dev/sda2 194M 36M 149M 20% /boot
/dev/sda1 200M 264K 200M 1% /boot/efi
/dev/sda4 20G 215M 19G 2% /home
/dev/sda5 20G 1.4G 17G 8% /opt
/dev/sda9 166G 6.6G 151G 5% /tempWork
/dev/sda7 9.7G 152M 9.0G 2% /tmp
/dev/sda6 20G 227M 19G 2% /var
actually the outputs are more and long I had to remove some parts and they combine together and become hard to read. what should i use ti make space between them?
watch
watch
asked 26 mins ago
BlackCrystalBlackCrystal
32711
32711
add a comment |
add a comment |
0
active
oldest
votes
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "106"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f504052%2foutput-of-watch-several-commands-not-clear%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f504052%2foutput-of-watch-several-commands-not-clear%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown