systemctl output is truncated











up vote
6
down vote

favorite
1












A need to grep the output for this command:



systemctl | grep failed


The problem is that it does not show complete units:



systemd-...-clean.service loaded failed failed        Cleanup of Temporary Directories
systemd-...-setup.service loaded failed failed Recreate Volatile Files and Directories
tcsd.service loaded failed failed LSB: Init script for TCSD
cups.socket loaded failed failed CUPS Printing Service Sockets


Your can see the units show like: systemd-...es-clean.timer
for systemd-tmpfiles-clean.service



I tried with a file:



systemctl --failed > file


Or cat:



systemctl --failed | cat


But the problem is the same.
I need to understand why that happens and how fix it.










share|improve this question
























  • Just for the future, man systemctl or man somethingelse solves most of these problems ;)
    – drahnr
    Oct 15 '12 at 21:21















up vote
6
down vote

favorite
1












A need to grep the output for this command:



systemctl | grep failed


The problem is that it does not show complete units:



systemd-...-clean.service loaded failed failed        Cleanup of Temporary Directories
systemd-...-setup.service loaded failed failed Recreate Volatile Files and Directories
tcsd.service loaded failed failed LSB: Init script for TCSD
cups.socket loaded failed failed CUPS Printing Service Sockets


Your can see the units show like: systemd-...es-clean.timer
for systemd-tmpfiles-clean.service



I tried with a file:



systemctl --failed > file


Or cat:



systemctl --failed | cat


But the problem is the same.
I need to understand why that happens and how fix it.










share|improve this question
























  • Just for the future, man systemctl or man somethingelse solves most of these problems ;)
    – drahnr
    Oct 15 '12 at 21:21













up vote
6
down vote

favorite
1









up vote
6
down vote

favorite
1






1





A need to grep the output for this command:



systemctl | grep failed


The problem is that it does not show complete units:



systemd-...-clean.service loaded failed failed        Cleanup of Temporary Directories
systemd-...-setup.service loaded failed failed Recreate Volatile Files and Directories
tcsd.service loaded failed failed LSB: Init script for TCSD
cups.socket loaded failed failed CUPS Printing Service Sockets


Your can see the units show like: systemd-...es-clean.timer
for systemd-tmpfiles-clean.service



I tried with a file:



systemctl --failed > file


Or cat:



systemctl --failed | cat


But the problem is the same.
I need to understand why that happens and how fix it.










share|improve this question















A need to grep the output for this command:



systemctl | grep failed


The problem is that it does not show complete units:



systemd-...-clean.service loaded failed failed        Cleanup of Temporary Directories
systemd-...-setup.service loaded failed failed Recreate Volatile Files and Directories
tcsd.service loaded failed failed LSB: Init script for TCSD
cups.socket loaded failed failed CUPS Printing Service Sockets


Your can see the units show like: systemd-...es-clean.timer
for systemd-tmpfiles-clean.service



I tried with a file:



systemctl --failed > file


Or cat:



systemctl --failed | cat


But the problem is the same.
I need to understand why that happens and how fix it.







systemd






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited 2 days ago









Rui F Ribeiro

38.2k1475123




38.2k1475123










asked Oct 13 '12 at 13:45









Kevin

312




312












  • Just for the future, man systemctl or man somethingelse solves most of these problems ;)
    – drahnr
    Oct 15 '12 at 21:21


















  • Just for the future, man systemctl or man somethingelse solves most of these problems ;)
    – drahnr
    Oct 15 '12 at 21:21
















Just for the future, man systemctl or man somethingelse solves most of these problems ;)
– drahnr
Oct 15 '12 at 21:21




Just for the future, man systemctl or man somethingelse solves most of these problems ;)
– drahnr
Oct 15 '12 at 21:21










1 Answer
1






active

oldest

votes

















up vote
6
down vote













This is not related to pipes, is systemctl's behavior. Use the --full switch to get full names:




--full
Do not ellipsize unit names and truncate unit descriptions in the
output of list-units and list-jobs.






share|improve this answer





















  • You are right :) , thank you very much.
    – Kevin
    Oct 13 '12 at 14:42











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',
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
});


}
});














 

draft saved


draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f50766%2fsystemctl-output-is-truncated%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes








up vote
6
down vote













This is not related to pipes, is systemctl's behavior. Use the --full switch to get full names:




--full
Do not ellipsize unit names and truncate unit descriptions in the
output of list-units and list-jobs.






share|improve this answer





















  • You are right :) , thank you very much.
    – Kevin
    Oct 13 '12 at 14:42















up vote
6
down vote













This is not related to pipes, is systemctl's behavior. Use the --full switch to get full names:




--full
Do not ellipsize unit names and truncate unit descriptions in the
output of list-units and list-jobs.






share|improve this answer





















  • You are right :) , thank you very much.
    – Kevin
    Oct 13 '12 at 14:42













up vote
6
down vote










up vote
6
down vote









This is not related to pipes, is systemctl's behavior. Use the --full switch to get full names:




--full
Do not ellipsize unit names and truncate unit descriptions in the
output of list-units and list-jobs.






share|improve this answer












This is not related to pipes, is systemctl's behavior. Use the --full switch to get full names:




--full
Do not ellipsize unit names and truncate unit descriptions in the
output of list-units and list-jobs.







share|improve this answer












share|improve this answer



share|improve this answer










answered Oct 13 '12 at 14:35









manatwork

21.4k38284




21.4k38284












  • You are right :) , thank you very much.
    – Kevin
    Oct 13 '12 at 14:42


















  • You are right :) , thank you very much.
    – Kevin
    Oct 13 '12 at 14:42
















You are right :) , thank you very much.
– Kevin
Oct 13 '12 at 14:42




You are right :) , thank you very much.
– Kevin
Oct 13 '12 at 14:42


















 

draft saved


draft discarded



















































 


draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f50766%2fsystemctl-output-is-truncated%23new-answer', 'question_page');
}
);

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







Popular posts from this blog

Accessing regular linux commands in Huawei's Dopra Linux

Can't connect RFCOMM socket: Host is down

Kernel panic - not syncing: Fatal Exception in Interrupt