Grepping and reformatting (for example via column -t) the complete systemctl output has edge cases i'd rather avoid. sudo systemctl enable nxfilter sudo systemctl start nxfilter Using ZIP package You can install NxFilter on other Linux and Unix like OS using ZIP package. yum install nxfilter After you install it, enable the service and start it. Note: I am interested in a way to ask systemctl itself to filter the result set. Then you can install NxFilter using yum command. Is there a way of asking systemctl to only list units whose name matches a pattern (for example 'myapp-*')? $ systemctl ![]() I want to use systemctl to observe at a glance the status of my application components. ) coordinated by systemd.įor every subcomponent of the application, the unit name starts with "myapp-". My application consists of a bunch of services (and timers, and sockets. ![]() So simply it seems sudo echo nameserver 8.8.8.8 > /etc/nf. ![]() 4) Nxfilter failure, seems ubunto, thus LM, changed something in a major way. Myapp-periodic.timer loaded active waiting Application - periodic job 2) install samba with a simple file share, works 3) try to get nxfilter to work, because it should, as the same recipe worked for linux mint 18. ![]() Myapp-socket1.socket loaded active listening Application - a socketįstrim.timer loaded active waiting Discard unused blocks once a week rvice loaded active failed Application - Component 2ĭbus.socket loaded active running D-Bus System Message Bus Socket.rvice loaded active running Application - Component 1 When executed with no arguments, systemctl outputs a nice table displaying the status of every unit in the system: $ systemctlĬrvice loaded active exited Set console font and keymapĬron.service loaded active running Regular background program processing daemonĭbus.service loaded active running D-Bus System Message Bus
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |