Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > alt.os.linux.ubuntu > #197450
| From | fred flintstone <fred@server.invalid> |
|---|---|
| Newsgroups | alt.os.linux.ubuntu |
| Subject | Re: systemd was Re: nautilus not working/wireless not responding either |
| Date | 2017-10-12 16:09 -0700 |
| Message-ID | <f4ab27Fd0riU1@mid.individual.net> (permalink) |
| References | (3 earlier) <slrnotbf8r.b7l.BitTwister@wb.home.test> <f44vb3F5i7kU1@mid.individual.net> <slrnotqlh7.4dn.BitTwister@wb.home.test> <f45hmkF99koU1@mid.individual.net> <slrnotr8ss.o4l.BitTwister@wb.home.test> |
On 10/10/2017 09:52 PM, Bit Twister wrote: > On Tue, 10 Oct 2017 20:32:34 -0700, fred flintstone wrote: [Let's move on. Big snips.] > You might want to have a little compassion for the readers of your > post and trim out/down un-need text. Yeah, I know, you might not know > what is and is not needed but, for instance run these commands > > journalctl --since "1 minutes ago" > journalctl --no-hostname --since "1 minutes ago" > > Notice any difference. > > Don't like all the typing, Here > alias jctl='journalctl --no-hostname' > jctl --since "2 minutes ago" > jctl | tail -4 > > Again, thank for your detailed response, BT; I had never used the alias feature before, but I suspect that you are shooting from the hip and missed by a keystroke somewhere: $ cat 3.jctl.sh #!/bin/bash # if run by systemd: #export PATH=/usr/local/sbin:/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/bin alias jctl='journalctl' jctl -S "10 m ago" >3.jctl.txt echo 'last 4 in tail' >>3.jctl.txt jctl | tail -4 >>3.jctl.txt exit ... $ sh 3.jctl.sh ...runs without diagnostic... $ cat 3.jctl.txt | tail -10 Oct 12 08:53:37 bob-ThinkPad-SL510 NetworkManager[28084]: <info> [1507823617.7494] dhcp6 (wlp5s0): state changed unknown -> expire Oct 12 08:53:37 bob-ThinkPad-SL510 NetworkManager[28084]: <info> [1507823617.7514] dhcp6 (wlp5s0): canceled DHCP transaction, DHCP client pid 27505 Oct 12 08:53:37 bob-ThinkPad-SL510 NetworkManager[28084]: <info> [1507823617.7515] dhcp6 (wlp5s0): state changed expire -> done Oct 12 08:53:39 bob-ThinkPad-SL510 avahi-daemon[808]: Registering new address record for 2601:1c2:4a01:7d0::2 on wlp5s0.*. Oct 12 08:54:33 bob-ThinkPad-SL510 org.gnome.zeitgeist.SimpleIndexer[4123]: ** (zeitgeist-fts:4874): WARNING **: Unable to get info on application://nautilus-autostart.desktop last 4 in tail Oct 12 08:53:37 bob-ThinkPad-SL510 NetworkManager[28084]: <info> [1507823617.7514] dhcp6 (wlp5s0): canceled DHCP transaction, DHCP client pid 27505 Oct 12 08:53:37 bob-ThinkPad-SL510 NetworkManager[28084]: <info> [1507823617.7515] dhcp6 (wlp5s0): state changed expire -> done Oct 12 08:53:39 bob-ThinkPad-SL510 avahi-daemon[808]: Registering new address record for 2601:1c2:4a01:7d0::2 on wlp5s0.*. Oct 12 08:54:33 bob-ThinkPad-SL510 org.gnome.zeitgeist.SimpleIndexer[4123]: ** (zeitgeist-fts:4874): WARNING **: Unable to get info on application://nautilus-autostart.desktop $ I use files that begin with ordinals and have a small toolbox that clones that file and munges it slightly, so I can start with a clone and test new syntax quickly: $ create.sh 3.jctl.sh This gives me a clone named 4.jctl.sh, and then I added a time stamp: $ cat 4.jctl.sh #!/bin/bash # if run by systemd: #export PATH=/usr/local/sbin:/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/bin alias jctl='journalctl --no-hostname' now=$(date +"%T") echo "Current time : $now" >4.jctl.txt jctl -S "20 m ago" >>4.jctl.txt echo 'last 4 in tail' >>4.jctl.txt jctl | tail -4 >>4.jctl.txt exit ... $ sh 4.jctl.sh journalctl: unrecognized option '--no-hostname' journalctl: unrecognized option '--no-hostname' $ cat 4.jctl.txt Current time : 09:10:56 last 4 in tail Clearly, we're looking at a deluge of information and must winnow it out along one of more criteria. >> Oct 10 20:11:05 dbus[822]: [system] Successfully activated > ^ > | > name of program ----' issuing the message. Ok, there's always at least one field in these things that i don't understand. So if I were at a terminal and I type kill 822 , then this process would disappear? Is 822 its unit ID number? Oct 12 15:48:47 bob-ThinkPad-SL510 NetworkManager[28084]: <info> [1507848527.8799] dhcp6 (wlp5s0): state changed expire -> done Likewise 28084 here for NetworkManager? -- fred >
Back to alt.os.linux.ubuntu | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
nautilus not working/wireless not responding either fred flintstone <fred@server.invalid> - 2017-09-24 12:36 -0700
Re: nautilus not working/wireless not responding either "Jonathan N. Little" <lws4art@gmail.com> - 2017-09-24 15:46 -0400
Re: nautilus not working/wireless not responding either fred flintstone <fred@server.invalid> - 2017-09-29 14:26 -0700
Re: nautilus not working/wireless not responding either fred flintstone <fred@server.invalid> - 2017-10-04 19:40 -0700
Re: nautilus not working/wireless not responding either Bit Twister <BitTwister@mouse-potato.com> - 2017-10-05 05:03 +0000
Re: nautilus not working/wireless not responding either fred flintstone <fred@server.invalid> - 2017-10-07 15:49 -0700
Re: nautilus not working/wireless not responding either Bit Twister <BitTwister@mouse-potato.com> - 2017-10-07 23:24 +0000
Re: systemd was Re: nautilus not working/wireless not responding either Bit Twister <BitTwister@mouse-potato.com> - 2017-10-10 23:22 +0000
Re: systemd was Re: nautilus not working/wireless not responding either fred flintstone <fred@server.invalid> - 2017-10-10 20:32 -0700
Re: systemd was Re: nautilus not working/wireless not responding either Bit Twister <BitTwister@mouse-potato.com> - 2017-10-11 04:52 +0000
Re: systemd was Re: nautilus not working/wireless not responding either Melzzzzz <Melzzzzz@zzzzz.com> - 2017-10-11 05:00 +0000
Re: systemd was Re: nautilus not working/wireless not responding either fred flintstone <fred@server.invalid> - 2017-10-12 16:09 -0700
Re: systemd was Re: nautilus not working/wireless not responding either Bit Twister <BitTwister@mouse-potato.com> - 2017-10-13 03:06 +0000
Re: systemd was Re: nautilus not working/wireless not responding either "Jonathan N. Little" <lws4art@gmail.com> - 2017-10-13 00:33 -0400
Re: systemd was Re: nautilus not working/wireless not responding either Bit Twister <BitTwister@mouse-potato.com> - 2017-10-13 05:00 +0000
Re: systemd was Re: nautilus not working/wireless not responding either "Jonathan N. Little" <lws4art@gmail.com> - 2017-10-13 09:31 -0400
Re: systemd was Re: nautilus not working/wireless not responding either "Jonathan N. Little" <lws4art@gmail.com> - 2017-10-13 09:32 -0400
Re: systemd was Re: nautilus not working/wireless not responding either Bit Twister <BitTwister@mouse-potato.com> - 2017-10-13 14:19 +0000
Re: systemd was Re: nautilus not working/wireless not responding either Marek Novotny <marek.novotny@marspolar.com> - 2017-10-13 09:56 -0500
Re: systemd was Re: nautilus not working/wireless not responding either fred flintstone <fred@server.invalid> - 2017-10-22 14:35 -0700
Re: systemd was Re: nautilus not working/wireless not responding either Bit Twister <BitTwister@mouse-potato.com> - 2017-10-22 23:57 +0000
Re: systemd was Re: nautilus not working/wireless not responding either fred flintstone <fred@server.invalid> - 2017-10-25 12:03 -0700
Re: systemd was Re: nautilus not working/wireless not responding either "Jonathan N. Little" <lws4art@gmail.com> - 2017-10-26 12:46 -0400
Re: systemd was Re: nautilus not working/wireless not responding either Bit Twister <BitTwister@mouse-potato.com> - 2017-10-26 23:54 +0000
Re: systemd was Re: nautilus not working/wireless not responding either fred flintstone <fred@server.invalid> - 2017-10-31 17:28 -0700
Re: systemd was Re: nautilus not working/wireless not responding either Bit Twister <BitTwister@mouse-potato.com> - 2017-11-01 01:36 +0000
Re: systemd was Re: nautilus not working/wireless not responding either fred flintstone <fred@server.invalid> - 2017-11-06 12:35 -0800
[OT] Re: systemd was Re: nautilus not working/wireless not responding either Bit Twister <BitTwister@mouse-potato.com> - 2017-10-27 00:23 +0000
Re: systemd was Re: nautilus not working/wireless not responding either fred flintstone <fred@server.invalid> - 2017-10-25 16:13 -0700
Re: systemd was Re: nautilus not working/wireless not responding either "Jonathan N. Little" <lws4art@gmail.com> - 2017-10-13 11:42 -0400
Re: systemd was Re: nautilus not working/wireless not responding either "Jonathan N. Little" <lws4art@gmail.com> - 2017-10-13 11:45 -0400
Re: systemd was Re: nautilus not working/wireless not responding either fred flintstone <fred@server.invalid> - 2017-10-13 17:03 -0700
Re: systemd was Re: nautilus not working/wireless not responding either "Jonathan N. Little" <lws4art@gmail.com> - 2017-10-13 20:25 -0400
Re: systemd was Re: nautilus not working/wireless not responding either Bit Twister <BitTwister@mouse-potato.com> - 2017-10-14 01:45 +0000
Re: systemd was Re: nautilus not working/wireless not responding either Mike Easter <MikeE@ster.invalid> - 2017-10-10 16:34 -0700
Re: systemd was Re: nautilus not working/wireless not responding either Mike Easter <MikeE@ster.invalid> - 2017-10-10 16:41 -0700
Re: nautilus not working/wireless not responding either Mike Easter <MikeE@ster.invalid> - 2017-10-11 10:28 -0700
[OT] Re: nautilus not working/wireless not responding either Bit Twister <BitTwister@mouse-potato.com> - 2017-10-11 17:50 +0000
csiph-web