How to Properly Execute tmux When bash is Invoked

When I invoke urxvt, tmux works as intended, but ps displays the following process tree:
urxvt
\_ tmux
\_ [tmux] <defunct>
tmux
\_ -bash
\_ ps auxf
I have the following in ~/.bashrc:
[[ -z $TMUX ]] && tmux && exit
Any ideas why this tmux zombie exists?
Last edited by rnabioullin (2011-10-06 00:02:59)

Because zombies are hard to kill
Edit: sorry, the potential for more serious answers is still high.
Last edited by the sad clown (2011-10-05 02:30:21)

Similar Messages

  • How to properly reference libraries when building executable

    Hi guys,
    So I've been working on porting a VI developed on 2009 Labview on Windows over to 8.2 on Linux. Initially I was having some problems because the program seem to have broken after the port but we realized it was some compatiblity with the TCP communcation functions. We solved it by writing some new TCP open/send/recieve/close functions in C and called the functions through a sub VI calling a library function node.
    Now, the program runs completely fine on labview on the development machine where I have all the files. However, things seem to break down when I build the program as an executable to be run on a machine without labview. 
    From what I can tell, it seems as though the library function node is unable to find the proper .so file to reference. However, I've tried numerous methods of passing the correct path of the .so file to the library function no but nothing seems to work. I've tried implementing path on the sub-vi level then up to the vi level but the results are all the same, the program works in labview fine but the TCP communcations break when i compile.
    So can anyone tell me or point me to a good tutorial on how to properly implement and build with library function nodes and also properly referecing the required .so files?
    Thanks guys,
    Jason.

    Hi Jason,
    If you open example finder in LabVIEW (Help>>Find Examples…)  and search DLL, you may find the “External Code (DLL) Execution.vi” to be helpful.
    There is some thorough documentation on how to use external code in LabVIEW at the following link:
    http://www.ni.com/pdf/manuals/370109a.pdf
    I would double check to make sure you are compiling the C code to the correct format.  To run it on a Linux machine the .so file must be in the ELF file format, not the PE format (which is what DLL files use).
    I am also wondering why you need to re-write the TCP functions, there should be a Linux LabVIEW equivalent function for each of the LabVIEW Windows functions.
    Regards,
    Shane C
    Regards,
    Shane C
    Applications Engineer
    National Instruments

  • How to properly execute script on shutdown using systemd

    Hello,
    I am trying to execute a simple script to update my freedns.afraid.org DNS record on each machine shutdown. Could somebody please provide me a complete step by step example on how to achieve this? There are many posts, but none work, directory structure is always different, and there are no results. Below is my current directory structure:
    [kbs1@arch ~]$ cd /etc/systemd/
    [kbs1@arch systemd]$ ll
    total 40
    drwxr-xr-x 5 root root 4096 Nov 1 06:55 .
    drwxr-xr-x 75 root root 4096 Nov 15 01:07 ..
    -rw-r--r-- 1 root root 529 May 30 14:55 bootchart.conf
    -rw-r--r-- 1 root root 770 Oct 2 14:01 journald.conf
    -rw-r--r-- 1 root root 709 Oct 2 14:01 logind.conf
    drwxr-xr-x 2 root root 4096 May 30 14:55 ntp-units.d
    drwxr-xr-x 7 root root 4096 Nov 18 13:24 system
    -rw-r--r-- 1 root root 1033 Oct 2 14:01 system.conf
    drwxr-xr-x 2 root root 4096 May 30 14:55 user
    -rw-r--r-- 1 root root 468 Oct 2 14:01 user.conf
    [kbs1@arch systemd]$ ll user
    total 8
    drwxr-xr-x 2 root root 4096 May 30 14:55 .
    drwxr-xr-x 5 root root 4096 Nov 1 06:55 ..
    [kbs1@arch systemd]$ ll system
    total 28
    drwxr-xr-x 7 root root 4096 Nov 18 13:24 .
    drwxr-xr-x 5 root root 4096 Nov 1 06:55 ..
    lrwxrwxrwx 1 root root 39 Sep 22 00:47 dbus-uk.org.thekelleys.dnsmasq -> /usr/lib/systemd/system/dnsmasq.service
    drwxr-xr-x 2 root root 4096 Jul 11 23:47 [email protected]
    drwxr-xr-x 2 root root 4096 Jul 8 06:16 getty.target.wants
    drwxr-xr-x 2 root root 4096 Nov 1 06:55 multi-user.target.wants
    drwxr-xr-x 2 root root 4096 Jul 20 00:45 printer.target.wants
    drwxr-xr-x 2 root root 4096 Jul 20 00:45 sockets.target.wants
    [kbs1@arch systemd]$ cd /usr/lib
    lib/ lib64/
    [kbs1@arch systemd]$ cd /usr/lib
    lib/ lib64/
    [kbs1@arch systemd]$ cd /usr/lib/sys
    sysctl.d/ systemd/
    [kbs1@arch systemd]$ cd /usr/lib/systemd/
    catalog/ systemd-hostnamed systemd-shutdown
    ntp-units.d/ systemd-initctl systemd-shutdownd
    scripts/ systemd-journald systemd-sleep
    system/ systemd-journal-gatewayd systemd-sysctl
    systemd systemd-localed systemd-timedated
    systemd-ac-power systemd-logind systemd-udevd
    systemd-activate systemd-machined systemd-update-utmp
    systemd-backlight systemd-modules-load systemd-user-sessions
    systemd-binfmt systemd-multi-seat-x systemd-vconsole-setup
    systemd-bootchart systemd-quotacheck system-generators/
    systemd-cgroups-agent systemd-random-seed system-shutdown/
    systemd-coredump systemd-readahead system-sleep/
    systemd-cryptsetup systemd-remount-fs user/
    systemd-fsck systemd-reply-password user-generators/
    [kbs1@arch systemd]$ cd /usr/lib/systemd/
    [kbs1@arch systemd]$ ll user
    total 20
    drwxr-xr-x 2 root root 4096 Nov 18 13:39 .
    drwxr-xr-x 11 root root 4096 Nov 18 13:37 ..
    lrwxrwxrwx 1 root root 40 Oct 21 15:27 bluetooth.target -> /usr/lib/systemd/system/bluetooth.target
    -rw-r--r-- 1 root root 373 Oct 21 15:27 default.target
    -rw-r--r-- 1 root root 499 Oct 21 15:27 exit.target
    lrwxrwxrwx 1 root root 36 Oct 21 15:27 paths.target -> /usr/lib/systemd/system/paths.target
    lrwxrwxrwx 1 root root 38 Oct 21 15:27 printer.target -> /usr/lib/systemd/system/printer.target
    lrwxrwxrwx 1 root root 39 Oct 21 15:27 shutdown.target -> /usr/lib/systemd/system/shutdown.target
    lrwxrwxrwx 1 root root 40 Oct 21 15:27 smartcard.target -> /usr/lib/systemd/system/smartcard.target
    lrwxrwxrwx 1 root root 38 Oct 21 15:27 sockets.target -> /usr/lib/systemd/system/sockets.target
    lrwxrwxrwx 1 root root 36 Oct 21 15:27 sound.target -> /usr/lib/systemd/system/sound.target
    -rw-r--r-- 1 root root 501 Oct 21 15:27 systemd-exit.service
    lrwxrwxrwx 1 root root 37 Oct 21 15:27 timers.target -> /usr/lib/systemd/system/timers.target
    [kbs1@arch systemd]$ ll system
    total 856
    drwxr-xr-x 10 root root 12288 Nov 1 06:56 .
    drwxr-xr-x 11 root root 4096 Nov 18 13:37 ..
    -rw-r--r-- 1 root root 428 Jul 29 11:49 alsa-restore.service
    -rw-r--r-- 1 root root 481 Jul 29 11:49 alsa-state.service
    -rw-r--r-- 1 root root 372 Jul 29 11:49 alsa-store.service
    lrwxrwxrwx 1 root root 14 Oct 21 15:27 [email protected] -> [email protected]
    -rw-r--r-- 1 root root 1042 Oct 31 17:31 avahi-daemon.service
    -rw-r--r-- 1 root root 874 Oct 31 17:31 avahi-daemon.socket
    -rw-r--r-- 1 root root 975 Oct 31 17:31 avahi-dnsconfd.service
    -rw-r--r-- 1 root root 546 Oct 21 15:27 basic.target
    drwxr-xr-x 2 root root 4096 Aug 7 16:14 basic.target.wants
    -rw-r--r-- 1 root root 379 Oct 21 15:27 bluetooth.target
    -rw-r--r-- 1 root root 296 Jul 23 16:00 colord.service
    -rw-r--r-- 1 root root 699 Oct 21 15:27 console-getty.service
    -rw-r--r-- 1 root root 722 Oct 21 15:27 console-shell.service
    -rw-r--r-- 1 root root 194 Jun 23 11:17 cronie.service
    -rw-r--r-- 1 root root 366 Oct 21 15:27 cryptsetup.target
    lrwxrwxrwx 1 root root 13 Oct 21 15:27 ctrl-alt-del.target -> reboot.target
    -rw-r--r-- 1 root root 224 Oct 30 15:59 cups-browsed.service
    lrwxrwxrwx 1 root root 12 Oct 25 21:12 cupsd.service -> cups.service
    -rw-r--r-- 1 root root 126 Oct 25 21:12 cups.path
    -rw-r--r-- 1 root root 158 Oct 25 21:12 cups.service
    -rw-r--r-- 1 root root 127 Oct 25 21:12 cups.socket
    lrwxrwxrwx 1 root root 25 Oct 21 15:27 dbus-org.freedesktop.hostname1.service -> systemd-hostnamed.service
    lrwxrwxrwx 1 root root 23 Oct 21 15:27 dbus-org.freedesktop.locale1.service -> systemd-localed.service
    lrwxrwxrwx 1 root root 22 Oct 21 15:27 dbus-org.freedesktop.login1.service -> systemd-logind.service
    lrwxrwxrwx 1 root root 24 Oct 21 15:27 dbus-org.freedesktop.machine1.service -> systemd-machined.service
    lrwxrwxrwx 1 root root 25 Oct 21 15:27 dbus-org.freedesktop.timedate1.service -> systemd-timedated.service
    -rw-r--r-- 1 root root 353 Oct 12 16:22 dbus.service
    -rw-r--r-- 1 root root 102 Oct 12 16:22 dbus.socket
    drwxr-xr-x 2 root root 4096 Nov 1 06:55 dbus.target.wants
    -rw-r--r-- 1 root root 978 Oct 21 15:27 debug-shell.service
    lrwxrwxrwx 1 root root 16 Oct 21 15:27 default.target -> graphical.target
    -rw-r--r-- 1 root root 156 Aug 25 09:57 deluged.service
    -rw-r--r-- 1 root root 145 Aug 25 09:57 deluge-web.service
    -rw-r--r-- 1 root root 636 Oct 21 15:27 dev-hugepages.mount
    -rw-r--r-- 1 root root 590 Oct 21 15:27 dev-mqueue.mount
    -rw-r--r-- 1 root root 227 Aug 3 17:20 dhcpcd.service
    -rw-r--r-- 1 root root 318 Aug 3 17:20 [email protected]
    -rw-r--r-- 1 root root 305 Oct 23 19:30 dmeventd.service
    -rw-r--r-- 1 root root 243 Oct 23 19:30 dmeventd.socket
    -rw-r--r-- 1 root root 383 Oct 30 16:17 dnsmasq.service
    -rw-r--r-- 1 root root 940 Oct 21 15:27 emergency.service
    -rw-r--r-- 1 root root 431 Oct 21 15:27 emergency.target
    -rw-r--r-- 1 root root 149 May 29 05:46 fancontrol.service
    -rw-r--r-- 1 root root 440 Oct 21 15:27 final.target
    -rw-r--r-- 1 root root 141 Sep 12 06:38 ftpd.service
    -rw-r--r-- 1 root root 1486 Oct 21 15:27 [email protected]
    -rw-r--r-- 1 root root 460 Oct 21 15:27 getty.target
    -rw-r--r-- 1 root root 253 Oct 29 01:28 [email protected]
    -rw-r--r-- 1 root root 112 Oct 29 01:28 git-daemon.socket
    -rw-r--r-- 1 root root 161 Oct 24 19:10 gpm.service
    -rw-r--r-- 1 root root 522 Oct 21 15:27 graphical.target
    -rw-r--r-- 1 root root 487 Oct 21 15:27 halt.target
    -rw-r--r-- 1 root root 199 May 29 05:46 healthd.service
    -rw-r--r-- 1 root root 447 Oct 21 15:27 hibernate.target
    -rw-r--r-- 1 root root 337 Jul 18 21:07 httpd.service
    -rw-r--r-- 1 root root 468 Oct 21 15:27 hybrid-sleep.target
    -rw-r--r-- 1 root root 596 Oct 21 15:27 initrd-cleanup.service
    -rw-r--r-- 1 root root 536 Oct 21 15:27 initrd-fs.target
    -rw-r--r-- 1 root root 763 Oct 21 15:27 initrd-parse-etc.service
    -rw-r--r-- 1 root root 509 Oct 21 15:27 initrd-root-fs.target
    -rw-r--r-- 1 root root 606 Oct 21 15:27 initrd-switch-root.service
    -rw-r--r-- 1 root root 691 Oct 21 15:27 initrd-switch-root.target
    -rw-r--r-- 1 root root 654 Oct 21 15:27 initrd.target
    -rw-r--r-- 1 root root 668 Oct 21 15:27 initrd-udevadm-cleanup-db.service
    -rw-r--r-- 1 root root 319 Jun 1 07:35 ip6tables.service
    -rw-r--r-- 1 root root 308 Jun 1 07:35 iptables.service
    -rw-r--r-- 1 root root 162 Oct 14 08:42 irexec.service
    -rw-r--r-- 1 root root 501 Oct 21 15:27 kexec.target
    -rw-r--r-- 1 root root 721 Oct 21 15:27 kmod-static-nodes.service
    -rw-r--r-- 1 root root 137 Jun 10 08:46 krb5-kadmind.service
    -rw-r--r-- 1 root root 129 Jun 10 08:46 krb5-kdc.service
    -rw-r--r-- 1 root root 128 Jun 10 08:46 krb5-kpropd.service
    -rw-r--r-- 1 root root 159 Jun 10 08:46 [email protected]
    -rw-r--r-- 1 root root 122 Jun 10 08:46 krb5-kpropd.socket
    -rw-r--r-- 1 root root 177 Oct 14 08:42 lircm.service
    -rw-r--r-- 1 root root 225 Oct 14 08:42 lirc.service
    -rw-r--r-- 1 root root 348 May 29 05:46 lm_sensors.service
    -rw-r--r-- 1 root root 395 Oct 21 15:27 local-fs-pre.target
    -rw-r--r-- 1 root root 489 Oct 21 15:27 local-fs.target
    drwxr-xr-x 2 root root 4096 Nov 1 06:55 local-fs.target.wants
    -rw-r--r-- 1 root root 332 Oct 23 19:30 lvmetad.service
    -rw-r--r-- 1 root root 239 Oct 23 19:30 lvmetad.socket
    -rw-r--r-- 1 root root 504 Oct 23 19:30 lvm-monitoring.service
    -rw-r--r-- 1 root root 277 Sep 13 15:11 lxdm.service
    -rw-r--r-- 1 root root 405 Oct 21 15:27 machine.slice
    -rw-r--r-- 1 root root 130 Sep 4 16:24 mdadm.service
    -rw-r--r-- 1 root root 524 Oct 21 15:27 multi-user.target
    drwxr-xr-x 2 root root 4096 Nov 1 06:55 multi-user.target.wants
    -rw-r--r-- 1 root root 264 Sep 24 14:50 mysqld.service
    -rw-r--r-- 1 root root 404 Aug 6 10:46 [email protected]
    -rw-r--r-- 1 root root 317 Aug 6 10:46 [email protected]
    -rw-r--r-- 1 root root 238 Aug 6 10:46 netctl.service
    -rw-r--r-- 1 root root 290 Aug 6 10:46 [email protected]
    -rw-r--r-- 1 root root 248 Aug 6 10:46 netctl-sleep.service
    -rw-r--r-- 1 root root 443 Oct 21 15:27 network-online.target
    -rw-r--r-- 1 root root 433 Oct 21 15:27 network.target
    -rw-r--r-- 1 root root 400 Oct 25 17:29 nscd.service
    -rw-r--r-- 1 root root 514 Oct 21 15:27 nss-lookup.target
    -rw-r--r-- 1 root root 473 Oct 21 15:27 nss-user-lookup.target
    -rw-r--r-- 1 root root 207 Aug 1 05:29 ntpdate.service
    -rw-r--r-- 1 root root 210 Aug 1 05:29 ntpd.service
    -rw-r--r-- 1 root root 354 Oct 21 15:27 paths.target
    -rw-r--r-- 1 root root 172 Sep 18 19:20 polkit.service
    -rw-r--r-- 1 root root 287 Sep 6 04:01 postfix.service
    -rw-r--r-- 1 root root 500 Oct 21 15:27 poweroff.target
    -rw-r--r-- 1 root root 377 Oct 21 15:27 printer.target
    -rw-r--r-- 1 root root 693 Oct 21 15:27 proc-sys-fs-binfmt_misc.automount
    -rw-r--r-- 1 root root 603 Oct 21 15:27 proc-sys-fs-binfmt_misc.mount
    -rw-r--r-- 1 root root 641 Oct 21 15:27 quotaon.service
    -rw-r--r-- 1 root root 493 Oct 21 15:27 reboot.target
    -rw-r--r-- 1 root root 396 Oct 21 15:27 remote-fs-pre.target
    -rw-r--r-- 1 root root 482 Oct 21 15:27 remote-fs.target
    -rw-r--r-- 1 root root 958 Oct 21 15:27 rescue.service
    -rw-r--r-- 1 root root 486 Oct 21 15:27 rescue.target
    -rw-r--r-- 1 root root 500 Oct 21 15:27 rpcbind.target
    -rw-r--r-- 1 root root 127 Oct 28 17:58 [email protected]
    -rw-r--r-- 1 root root 115 Oct 28 17:58 saned.socket
    -rw-r--r-- 1 root root 158 May 29 05:46 sensord.service
    -rw-r--r-- 1 root root 989 Oct 21 15:27 [email protected]
    -rw-r--r-- 1 root root 402 Oct 21 15:27 shutdown.target
    drwxr-xr-x 2 root root 4096 Oct 7 05:47 shutdown.target.wants
    -rw-r--r-- 1 root root 362 Oct 21 15:27 sigpwr.target
    -rw-r--r-- 1 root root 420 Oct 21 15:27 sleep.target
    -rw-r--r-- 1 root root 403 Oct 21 15:27 -.slice
    -rw-r--r-- 1 root root 409 Oct 21 15:27 slices.target
    -rw-r--r-- 1 root root 380 Oct 21 15:27 smartcard.target
    -rw-r--r-- 1 root root 279 Aug 11 18:43 smartd.service
    -rw-r--r-- 1 root root 266 Aug 17 12:20 snmpd.service
    -rw-r--r-- 1 root root 283 Aug 17 12:20 snmptrapd.service
    -rw-r--r-- 1 root root 356 Oct 21 15:27 sockets.target
    drwxr-xr-x 2 root root 4096 Nov 1 06:56 sockets.target.wants
    -rw-r--r-- 1 root root 380 Oct 21 15:27 sound.target
    -rw-r--r-- 1 root root 221 Oct 27 01:00 speech-dispatcherd.service
    -rw-r--r-- 1 root root 511 Sep 13 11:00 sshdgenkeys.service
    -rw-r--r-- 1 root root 410 Sep 13 11:00 sshd.service
    -rw-r--r-- 1 root root 156 Sep 13 11:00 [email protected]
    -rw-r--r-- 1 root root 128 Sep 13 11:00 sshd.socket
    -rw-r--r-- 1 root root 441 Oct 21 15:27 suspend.target
    -rw-r--r-- 1 root root 270 Sep 13 05:38 svnserve.service
    -rw-r--r-- 1 root root 353 Oct 21 15:27 swap.target
    -rw-r--r-- 1 root root 681 Oct 21 15:27 sys-fs-fuse-connections.mount
    -rw-r--r-- 1 root root 540 Oct 21 15:27 sysinit.target
    drwxr-xr-x 2 root root 4096 Nov 1 06:55 sysinit.target.wants
    -rw-r--r-- 1 root root 685 Oct 21 15:27 sys-kernel-config.mount
    -rw-r--r-- 1 root root 628 Oct 21 15:27 sys-kernel-debug.mount
    -rw-r--r-- 1 root root 1235 Oct 21 15:27 syslog.socket
    -rw-r--r-- 1 root root 646 Oct 21 15:27 systemd-ask-password-console.path
    -rw-r--r-- 1 root root 657 Oct 21 15:27 systemd-ask-password-console.service
    -rw-r--r-- 1 root root 574 Oct 21 15:27 systemd-ask-password-wall.path
    -rw-r--r-- 1 root root 689 Oct 21 15:27 systemd-ask-password-wall.service
    -rw-r--r-- 1 root root 784 Oct 21 15:27 [email protected]
    -rw-r--r-- 1 root root 1015 Oct 21 15:27 systemd-binfmt.service
    -rw-r--r-- 1 root root 696 Oct 21 15:27 systemd-fsck-root.service
    -rw-r--r-- 1 root root 656 Oct 21 15:27 [email protected]
    -rw-r--r-- 1 root root 548 Oct 21 15:27 systemd-halt.service
    -rw-r--r-- 1 root root 505 Oct 21 15:27 systemd-hibernate.service
    -rw-r--r-- 1 root root 642 Oct 21 15:27 systemd-hostnamed.service
    -rw-r--r-- 1 root root 523 Oct 21 15:27 systemd-hybrid-sleep.service
    -rw-r--r-- 1 root root 484 Oct 21 15:27 systemd-initctl.service
    -rw-r--r-- 1 root root 489 Oct 21 15:27 systemd-initctl.socket
    -rw-r--r-- 1 root root 940 Oct 21 15:27 systemd-journald.service
    -rw-r--r-- 1 root root 833 Oct 21 15:27 systemd-journald.socket
    -rw-r--r-- 1 root root 702 Oct 21 15:27 systemd-journal-flush.service
    -rw-r--r-- 1 root root 582 Oct 21 15:27 systemd-journal-gatewayd.service
    -rw-r--r-- 1 root root 406 Oct 21 15:27 systemd-journal-gatewayd.socket
    -rw-r--r-- 1 root root 561 Oct 21 15:27 systemd-kexec.service
    -rw-r--r-- 1 root root 591 Oct 21 15:27 systemd-localed.service
    -rw-r--r-- 1 root root 972 Oct 21 15:27 systemd-logind.service
    -rw-r--r-- 1 root root 667 Oct 21 15:27 systemd-machined.service
    -rw-r--r-- 1 root root 1029 Oct 21 15:27 systemd-modules-load.service
    -rw-r--r-- 1 root root 478 Oct 21 15:27 [email protected]
    -rw-r--r-- 1 root root 557 Oct 21 15:27 systemd-poweroff.service
    -rw-r--r-- 1 root root 688 Oct 21 15:27 systemd-quotacheck.service
    -rw-r--r-- 1 root root 777 Oct 21 15:27 systemd-random-seed.service
    -rw-r--r-- 1 root root 845 Oct 21 15:27 systemd-readahead-collect.service
    -rw-r--r-- 1 root root 615 Oct 21 15:27 systemd-readahead-done.service
    -rw-r--r-- 1 root root 593 Oct 21 15:27 systemd-readahead-done.timer
    -rw-r--r-- 1 root root 555 Oct 21 15:27 systemd-readahead-drop.service
    -rw-r--r-- 1 root root 757 Oct 21 15:27 systemd-readahead-replay.service
    -rw-r--r-- 1 root root 552 Oct 21 15:27 systemd-reboot.service
    -rw-r--r-- 1 root root 828 Oct 21 15:27 systemd-remount-fs.service
    -rw-r--r-- 1 root root 479 Oct 21 15:27 systemd-shutdownd.service
    -rw-r--r-- 1 root root 528 Oct 21 15:27 systemd-shutdownd.socket
    -rw-r--r-- 1 root root 501 Oct 21 15:27 systemd-suspend.service
    -rw-r--r-- 1 root root 900 Oct 21 15:27 systemd-sysctl.service
    -rw-r--r-- 1 root root 593 Oct 21 15:27 systemd-timedated.service
    -rw-r--r-- 1 root root 853 Oct 21 15:27 systemd-tmpfiles-clean.service
    -rw-r--r-- 1 root root 450 Oct 21 15:27 systemd-tmpfiles-clean.timer
    -rw-r--r-- 1 root root 622 Oct 21 15:27 systemd-tmpfiles-setup-dev.service
    -rw-r--r-- 1 root root 915 Oct 21 15:27 systemd-tmpfiles-setup.service
    -rw-r--r-- 1 root root 578 Oct 21 15:27 systemd-udevd-control.socket
    -rw-r--r-- 1 root root 575 Oct 21 15:27 systemd-udevd-kernel.socket
    -rw-r--r-- 1 root root 772 Oct 21 15:27 systemd-udevd.service
    -rw-r--r-- 1 root root 827 Oct 21 15:27 systemd-udev-settle.service
    -rw-r--r-- 1 root root 723 Oct 21 15:27 systemd-udev-trigger.service
    -rw-r--r-- 1 root root 761 Oct 21 15:27 systemd-update-utmp-runlevel.service
    -rw-r--r-- 1 root root 831 Oct 21 15:27 systemd-update-utmp.service
    -rw-r--r-- 1 root root 558 Oct 21 15:27 systemd-user-sessions.service
    -rw-r--r-- 1 root root 690 Oct 21 15:27 systemd-vconsole-setup.service
    -rw-r--r-- 1 root root 433 Oct 21 15:27 system.slice
    -rw-r--r-- 1 root root 652 Oct 21 15:27 system-update.target
    -rw-r--r-- 1 root root 355 Oct 21 15:27 timers.target
    drwxr-xr-x 2 root root 4096 Nov 1 06:55 timers.target.wants
    -rw-r--r-- 1 root root 509 Oct 21 15:27 time-sync.target
    -rw-r--r-- 1 root root 591 Oct 21 15:27 tmp.mount
    -rw-r--r-- 1 root root 155 May 17 2013 udisks.service
    -rw-r--r-- 1 root root 417 Oct 21 15:27 umount.target
    -rw-r--r-- 1 root root 584 Oct 21 15:27 [email protected]
    -rw-r--r-- 1 root root 392 Oct 21 15:27 user.slice
    -rw-r--r-- 1 root root 202 Oct 21 16:31 uuidd.service
    -rw-r--r-- 1 root root 126 Oct 21 16:31 uuidd.socket
    -rw-r--r-- 1 root root 221 Oct 29 22:58 vboxweb.service
    -rw-r--r-- 1 root root 160 May 12 2013 vsftpd.service
    -rw-r--r-- 1 root root 163 May 12 2013 [email protected]
    -rw-r--r-- 1 root root 104 May 12 2013 vsftpd.socket
    -rw-r--r-- 1 root root 201 May 12 2013 vsftpd-ssl.service
    -rw-r--r-- 1 root root 226 May 12 2013 [email protected]
    -rw-r--r-- 1 root root 105 May 12 2013 vsftpd-ssl.socket
    -rw-r--r-- 1 root root 349 Sep 30 11:32 xmms2d.service
    [kbs1@arch systemd]$
    Could someone tell me which file to create, exactly where, and what symlink to link to it? Also, what commands to type then? I just want to execute these simple commands:
    echo "Updating dynamic IP at freedns.afraid.org..."
    wget -qO- http://freedns.afraid.org/dynamic/update.php?YYY &> /dev/null
    Thank you very much! I'm sure this will help others as well.

    Start by reading systemd.unit(5) and systemd.service(5)

  • How do I execute AppleScript when I open my computer?

    I would like to have several actions execute when I open my macbook air. I am just learning AppleScript and I would like to do this in AppleScript.

    SleepWatcher

  • How can i execute trigger from procedure

    Hi
    How can i execute trigger when-button-pressed from procedure.
    I knew i have to get the button name and then execute the trigger When-button-pressed.
    but how can i do that.
    Thanks
    null

    how can i execute trigger
    such as When-Button-Pressed on item name "item1"
    and i have more than one trigger with this name on onther
    items
    i know Execute_Trigger('when-button-pressed');
    but any trigger
    for example :
    Execute_Trigger('Item1.when-button-pressed');
    or
    Execute_Trigger('Item2.when-button-pressed');
    or
    other syntax
    i dont know
    please help me
    my email : [email protected]
    Hani

  • I transferred itunes library from old PC to new PC. The content all shows when I launch iTunes on the new PC now. The previous content does not show in iTunes but folder still looks like it is on hard drive on new PC. Suggestions on how to properly merge?

    I transferred itunes library from old PC to new PC. The content all shows when I launch iTunes on the new PC now. The previous content does not show in iTunes but folder still looks like it is on hard drive on new PC. Suggestions on how to properly merge?

    Before you connect any device to a new library go to the Devices tab of the the preferences panel via Edit > Preferences (Windows) or iTunes > Preferences (Mac) and ensure the box next to Prevent iPods, iPhones, and iPads from syncing automatically is ticked. You can now safely connect the device to your computer without the danger of media being automatically deleted or overwritten.
    To get all your content off your connect your iPad to your new computer.
    Then use a 3rd party piece of software to transfer your content
    I have found Senuti useful but there are others listed in the article I linked to in a previous post.
    https://discussions.apple.com/docs/DOC-3991
    That will let you transfer your non purchased content
    For Purchased content log in to iTunes on the new computer
    In Itunes Store click on Purchased under the Quick Links section on the right.
    Download any music by clicking on the cloud button

  • How to get 'exit event' script to execute again when form file with saved data is re-opened?

    I have created an Adobe Dynamic XML Form using LiveCycle Designer with many fields / subforms that are ‘visible’ or ‘hidden’ dependent upon the options selected from various Drop-Down Lists. The form has also been save-enabled. Users can successfully complete the form and save a copy with the data that has been input.
    The problem I have is that when the saved file is re-opened the ‘hidden’ fields / subforms which were previously made visible by selection of the appropriate options from the Drop-down Lists are now NOT displayed. However if you make the same selections from each of the Drop-down Lists AGAIN the hidden fields / subforms are displayed and do contain the data that was entered.
    The problem appears to be that the script which determines whether a field / subform is ‘hidden’ or ‘visible’ is an
    <event activity="exit" name="event__exit">
    which is followed by
    if (this.rawValue == "0")- (i.e. the value of the Drop-down List)
    sfCompanyDetails.presence = "visible";
    sfRecruitmentAgency.presence = "hidden";
    etc, etc
    and, therefore, it is not executed again when the saved file is re-opened.
    Can anyone please advise how to achieve this?

    Moved from Adobe Connnect Forums.

  • How can I execute a bash script by double clicking in finder

    Hello!
    How can I execute a bash script using finder? Or better: How can I create an alias, which executes my bash script?
    Thanks Johann

    Add the suffix command in your script name. E.g. Script.command.

  • How can java programs execute automatically when it connects to network

    Good Day dears...
    How can java programs execute automatically when it connects to network.
    Thanks in Advance friends Shackir

    884924 wrote:
    Good Day dears...
    How can java programs execute automatically when it connects to network.What is "it"? That is, execute when what connects to the network?
    Your computer? If that's what you mean, this is not a Java question. It's an OS operational/administrative question. Executing any program, whether written in Java or not, based on some system event has to do with that system, not with the program. If it's possible to do this, you'd do it exactly the same way for a Java program as you would for any other program.
    Or is "it" the program itself? If this is what you mean, then it's a nonsensical question. For the program to connect to the network and detect that it has connected to the network, it must already be executing, so asking how to execute it at that point is meaningless.
    Finally, I'll point out that "connecting to the network" is a pretty meaningless phrase. Or rather, it has so many potentially valid meanings that it's impossible to know which one you're referring to when you use that phrase. And I'd be willing to bet you don't have a clear picture of that yourself.

  • How can I see error when  execute UPDATE with BULK COLLECT

    Hi
    I have a code
       CURSOR c_renov_eleg IS
            SELECT t2.ROWID
              FROM mytable  t2
         WHERE  BLA BLA BLA
    OPEN c_renov_eleg;
          LOOP
            FETCH c_renov_eleg BULK COLLECT
              INTO w_rowid LIMIT 1000;
            FORALL i IN 1 .. w_rowid.COUNT
              UPDATE mytable
                 SET id_baixa_elegibilidade = K_SCNOB_BXA_RENOVACAO,
                      column01         = arr_ciclo(1),
                     dt_ultima_atualizacao  = SYSDATE,
                     cd_usuario_atualizacao = USER
               WHERE ROWID = w_rowid(i);
            COMMIT;
            EXIT WHEN c_renov_eleg%NOTFOUND;
          END LOOP;How can I to sse when and where have some error ? , in Exception return what record ?

    How can I to sse when and where have some error
    ?Have a look at
    [url=http://download.oracle.com/docs/cd/B28359_01/appd
    ev.111/b28370/tuning.htm#i49099]Handling FORALL
    Exceptions (%BULK_EXCEPTIONS Attribute).btw. just never ever commit in a for loop ;)
    (Tubby is just too fast ;))
    Hi , thank all
    btw. just never ever commit in a for loopWhen I must to COMMIT using BULK COLLECT ?

  • How to properly configure a home network using both Mac and PC computers

    Is there a book or set of guidelines that can tell me how to properly configure (exact specifications) my computers in a home network? Here is what I am trying to do and using:
    1) Three computers: iMac (late 06 ver), Macbook (newest version), Dell laptop. The two Macs are using Leopard and the PC is XP.
    2) Bellsouth modem which feeds into the Airport Extreme Base Station (AEBS)
    3) The AEBS has a USB hub which is connected to a external hard drive and two inkjet printers. A third laser printer/scanner/fax machine is connected to the AEBS via ethernet.
    4) All three computers use a wireless connection to the AEBS.
    I would like the following:
    1) Have a secured and password driven network - don't want outsiders connecting to the nework without permission.
    2) All computers to be able to access the USB printers and ext HD.
    3) The two Macs to read/write to each other with password access
    4) The iMac to have read/write capabalities over the PC via VSFusion or Bootcamp if possible.
    Currently, all three have Internet access via the AEBS and can print on the ethernet printer. Both Macs can see the Bonjour USB printers and print (however they to do not display on the AEBS configuration display utility and neither does the ext HD). The USB ext HD is shown on the iMac desktop and I have access to it, but does not display on the MacBook. I have not checked if the PC sees the external HD and it really does not matter if it ever does, although it would be nice.
    I am hoping that there is some standard configuration that I can "cut and paste" that is generally used to allow a home network to share resources while still being secure.
    Any advice and help is greatly appreciated.
    Thanks,
    Andrew

    Andrew,
    What you would like is fairly complicated so this will probably be a lengthy post, but hopefully I can assist you.
    As others here have pointed out, networks can vary widely, but the best networks have one element in common: planning. The first thing you need to think about is how you would like all of these systems to cooperate. For instance, do you want one of the machines to serve files to the others and be a central repository, or are you just interested in having them share documents on occasion so that you don't have to carry around, say, a USB key all the time? That said, here is a basic list of things I think you should look into.
    1. Network Basics
    First step is to get your local network set up. I'd go for WPA or WPA2 wireless security as they are relatively strong standards and you can use human-readable passwords. Additionally, unless you have an explicit need for someone outside your network to initialize a connection (Windows' RDP for instance), do not allow any passthroughs or port redirects on your AEBS.
    2. Network Topology
    Decide how you want computers and networked devices to identify themselves and their relative locations in the network: in short, do you want static ip's or dynamic ip's? Most of the time, static IP's can be assigned on a DHCP router, the trick is to assign the statics higher than your number of devices (or lower on some routers - for instance Linksys routers start DHCP at 192.168.1.100 but you could have statics from 192.168.1.2 to 192.168.1.99). For instance, it is impractical to set a laptop to static because I'm often in coffee shoppes and other environments that assign via DHCP; on the other hand, it's a good idea to have a printer be static so that you always know where to find it. So, I have 10.0.1.x network (default on AEBS), and the printer is 10.0.1.24, since the likelihood of my encountering an IP conflict with 4 computers on the subnet is virtually zero. If you configure a static device behind your AEBS, defaults are usually
    Default Gateway 10.0.1.1
    IP Address 10.0.1.(your choice)
    Subnet Mask 255.255.255.0
    3. File-sharing.
    3a) Mac OS X has a built-in SMB/CIFS (Windows file & printer sharing protocol) client, and a basic SMB [samba] server can be enabled in the sharing preference panel (enable file and/or printer sharing). Windows XP can use these shares, but must authenticate. For that reason, you may not be able to see your shares in the Network Places browser, however you should be able to get to them by mapping the network drive (tools menu) or executing RUN with \\computer.name\share.name. You will then be able to type in your credentials. I would also suggest relatively simple names for the Macs in question (set in Sharing preference pane). Typing Andrew's-iMac-G4 in every time you want to find it will get irritating after a while to say the least, especially if you need to troubleshoot.
    3b) The reverse works similarly. You can Connect to Server... from Finder to get to the Windows shares. To do this you must have Windows File and Printer sharing enabled (most easily through the Network Setup Wizard in Control Panels - Use Classic View). It's really easy if your account names and passwords are identical on the Mac and PC, because when loading user profiles, the Mac will generally automatically try to authenticate against the Windows machine with your Mac logon credentials. (Windows seems to do this against the Mac as well) You can write an Applescript or there are some PLIST modifications you can make to mount Windows shares at login.
    4. Printing
    I'm not exactly sure what you had in mind here since I'm not sure what's connected to which computer or directly to the network. If it is possible, I personally find putting my printers directly on the network to be the easiest thing. Especially if printing large PDF or graphics files, the spooling on the host system can really slow the computer down, and slow down printing. For example, I used to have a laserjet on a Windows box and had to print a very large file. Going through a Win print server, it only printed a page every 30 seconds, but when I got a jetdirect adapter, the whole thing was done in under two minutes. If you have HP Printers, I would recommend the jetdirect print servers (I have used with both a laserjet and a supposedly unsupported color inkjet).

  • How to Properly Clear CMOS...

    Hey Guys,
    I’ve checked the MSI manual and I’ve taken a look at the sticky/FAQ’s over here in the forum as well, and I wasn’t really able to find instructions on how to properly clear the CMOS (after a BIOS flash).
    So first of all what’s the correct way to clear the CMOS?
    1. Should I leave the power cord connected to the PSU and then press the “clear CMOS button” while the battery is still in the motherboard?
    2. OR should the power cord be detached from the PSU and the motherboard battery removed and then should I press the “clear CMOS button”? (And if so, for how long should the batter be removed before connecting it back to the motherboard?)
    Secondly,
    I was looking over the steps in this guide (http://www.msi.com.tw/html/support/bios/note/ntfs.htm) and I’m not sure at which point I should clear the CMOS. After I’ve executed the flash command and the flash has been complete, it says in step 12. “Reboot your system when prompted.”
    So should I turn off the machine right after the BIOS flash and then clear the CMOS… or should I reboot the machine right after the flash and then clear CMOS ?
    Any help would be greatly appreciated as I really don’t want to FUBAR my board.
    Thanks in advance.

    Quote from: Brownbay on 18-June-05, 01:28:24
    1. When I enter the flash command in DOS and the flash program completes the flash... will it say something like "flash successful" OR the only way I’ll know if the flash was successful is if after the flash I reboot and the machine posts?
    You will have a message like 'Hit F1 to reboot' in principle all is well...
    Quote from: Brownbay on 18-June-05, 01:28:24
    2. I understood everything in the steps that you listed up until step 4. Should I press the orange "clear CMOS" button first (Now do I have to hold it down... press it a few times... or just press it once) and THEN remove the battery... OR should the battery stay in at all times?
    While you press the button the battery must stay in it's place, it's is voltage that will clear the BIOS in a certain pin of the IC...
    As for the time to press...could be 1..2..3 seconds, no time defined, as soon as you press the button the Bios is cleared...but give it 3 secs.
    And it's not necessary to remove the battery at this point only in extreme cases.
    Quote from: Brownbay on 18-June-05, 01:28:24
    Finally, is it actually beneficial to clear the CMOS after flashing the BIOS? From what I’ve read... One of the main reasons to clear the CMOS after flashing to a new BIOS is so that you get rid of all the old BIOS options/commands that might be still lying around. So I can only see this as a good precautionary step rather than doing any harm to the motherboard, or causing the risk there of.
    It is highly beneficial to clear the Bios after an update, because some settings could be somewhat out of place and mess up your discs or memory or even the processor...one never knows...it is always better to clear for ensurance.
    Be well....

  • How do i execute a stored procedure?

    1. how can i see the list of stored procedures i might have in an oracle database from sqlplus?
    2. say i could see a stored procedure called my_procedure, how can i see the code in this procedure?
    3. how can i execute it from sqlplus?
    thanks u very much.
    - asker

    I ignore your statements fully. I have a joke here.
    There is one fools' gang in a city and they want to prove that they are not fools. One of them says " If we can find the most intelligent man in the city, then we can no more be called fools." Then on one fine morning, one of the fools sets out on a search. He goes to a taxi-driver and asks him to take him to the most intelligent man in the city. Taking advantage, the taxi fellow roams around the entire city for the whole day and end of the day brings him to the same spot where he met him in the morning.
    Taxi driver says, "Sir! I've not seen anyone who is more intelligent than me in this whole city. To prove this, I ask you a question and you answer me. If you can't answer me, then I'm the most intelligent in the city." Even the fool agrees on this and the Taxi driver continues saying, "We are four in our house. My mother, my wife, my son and who is the fourth one?". The fool couldn't answer that and the taxi driver says "The fourth one is me". the fool accepts his ignorance and sets off from the place to their fools-community gathering.
    In the gathering, this folls explains other fools about his achievement and says that the taxi-driver is the most intelligent in the city. When other persons insist on how he had come that conclusion, he asks the same question to his community as says, "We are four in our house. My mother, my wife, my son and who is the fourth one?". The other fools fail to answer and ask for the answer excitedly. This fools replies, "The taxi driver".
    In the same way as the fool, if I give direct answer to the question, the OP doesn't know the logic behind the answer and then just blindly remembers the answer rather than learning. That is the reason I insisted on doing some search before giving a solution.
    Have a nice day ahead.
    And yeah! Neither the number of posts not you can judge my skills. Rest of the community knows.
    Cheers
    sarma.
    Added the bolded text.
    Message was edited by:
    Radhakrishna Sarma

  • How can I execute program after using F4_Filename function?

    Hi all,
    I'm a new user on the forum. I've been working with ABAP and SAP for a few weeks. I wrote a program for importing data from excel file to SAP using BDC. During searching this forum I found information about F4_Filename function which allows users to browse the disc for a file. I'd like to add this function to my program. I have a parameter for a file name but this is an ordinary static string field. When I added the code which I found in the message on this forum the rest of program doesn't execute.
    This is simple program for example:
    REPORT  Z_TEST8_AB.
    DATA f_name TYPE STRING.
    PARAMETERS p_file like rlgrap-filename DEFAULT 'c:\test.xls'.
    f_name = p_file.
    write:/ f_name.
    This program works correctly. There is a field for parameter. I can change the default name for a file.
    After all, I can run the program (F8) and rest of the code is executed. The field for parameter dissapears from the screen and the file name is displayed. ( command write)
    Now I added a function F4_Filename
    REPORT  Z_TEST8_AB.
    DATA f_name TYPE STRING.
    PARAMETERS p_file like rlgrap-filename DEFAULT 'c:\test.xls'.
    at selection-screen on value-request for p_file.
      call function 'F4_FILENAME'
           exporting
                program_name  = syst-repid
                dynpro_number = syst-dynnr
                field_name    = 'p_file'
           importing
                file_name     = p_file.
    f_name = p_file.
    write:/ f_name.
    I can browse a computer for a file now but after selecting the file I can't run the rest of the code. When I click on the icon or press key F8 the field for parameter doesn't dissapier and the command write is not executed.
    What do I do wrong?
    Could anyone suggest me a solution? How can I executed the code after using this function?
    Thanks in advance.
    Regards,
    Arek.

    Hi arkadiusz,
    1. simple
    2.
    <b>start-of-selection.</b>
    f_name = p_file.
    write:/ f_name.
    regards,
    amit m.

  • How can I execute external application?

    Hi friends I want printing my barcodes a laser printer (Kyocera) it isn't a barcode printer. So I think (and I look kyocera web page my model doesn't support barcode printing in sap) print my barcodes using an external system. Before SAP we are using JollyPrint application for printing barcodes. It is using an Excel file.
    I can create a excel file for this application. I must execute this (JollyPrint-it is a label application) application when I press a button. How can I execute this application?
    Thanks
    Mehmet
    P.S. I have been writing this message with details may be somebody can give me a simple way for this

    Well, I can suggest you following steps. May be it works for you .
    -Create an external OS command in SM69
    -Test OS command in SM49 ( <u><i>about OS command if you search in SDN you’ll get lot of material</i></u> )
    -Create a Script at your OS level, I’m assuming you might have some UNIX flavor or Sun solaria’s.
    -Create a Shell script , which execute the printer job from OS .
    -Shell script will have parameters . ( e.g. printer name, destination etc )
    -set the path of shell script directory in SM69 ( the command you just created )
    -Execute shell script using your ABAP program ( use FM "SXPG_COMMAND_EXECUTE" )
    In the ABAP  program you can pass the parameters and execute the command from ABAP as a result your job will start printing on the required destination. Moreover, you can also capture the spool at OS level .
    FYI
    For UNIX script, if you search in www.google.com ( UNIX forums) . you’ll get shell script .
    Hope this’ll give you idea!!
    <b>P.S award the points.</b>
    Good luck
    Thanks
    Saquib Khan
    "Some are wise and some are otherwise"

Maybe you are looking for

  • CompatibilityRealm error while starting the weblogic server.

    Hi, This is the error I am getting when I try to bring up the weblogic portal. The version is weblogic 7.0 SP7 Can anyone pls suggest here? Starting WebLogic Server... <Mar 28, 2006 3:31:05 PM CST> <Notice> <Management> <140005> <Loading configurat i

  • Multiple asset numbers in Single PR/ PO line item

    Hello, If we enter multiple Asset Numbers in single PR/ PO line item then we get following error message while doing GR  - ' Entry 7100000256 00001  not in table XACCOUNTING (system error) ' Message no. M7000 For this PO, in account assignment we hav

  • How to Hide " AUTO Reversal" button on Journal Template

    Hi All Can any one please let me know how to hide or not shown option to AUTO REVERSED button  on Jounral template? appreiated your help Thanks

  • Result of FOX in a message

    Hi all, I want to do  validation using a fox formula. do you know where can I define the message type? Ex: If A<B MESSAGE 'A<B not possible' Best regards; Ricardo

  • Elements 9 will not load

    I have elements 9 loaded on two computers running on windows 7. It runs fine on one and I receive an error on the second which says Photo Shop  Elements has stopped working. I have tried reloading the program with the same results. The organizer seem