10 More Discussions You Might Find Interesting
1. Solaris
Hi,
I have 4 cores in my PC. I know how to disable a core using psradm -f command after boot up. But I want to disable while boot up (permanently).
1) I want only 1 core. How to disable all other cores while boot up?
2) I need to disable 2 cores. How to disable all other cores while boot... (5 Replies)
Discussion started by: sreejesh
5 Replies
2. AIX
I have an investigation job at hand where I have to know when was the FIRST time the daemon was invoked.
Now, currently what I can see as the time since invoked was some where near the last reboot which is kind of obvious that the daemon stopped and recycled after reboot.
But I want to know the... (6 Replies)
Discussion started by: TH3M0Nk
6 Replies
3. UNIX for Advanced & Expert Users
A friend routed some console output to a file for me. The problem is he used backspace and escape sequences all over the place. Using vi to view the file makes it difficult to read. Is there a program that will process the backspaces and remove the escape sequences?
e.g.,
bash-3.00$ pwd^ (5 Replies)
Discussion started by: eddyq
5 Replies
4. UNIX for Dummies Questions & Answers
Hi,
---------- Post updated at 04:12 AM ---------- Previous update was at 04:09 AM ----------
This is the scripts..
Date=`date +"%m/%d/%y %H:%M:%S "`
echo "Run on $Date"
echo "Run on $Date" >&2
# Setting Variables
PassDir=$PS_HOME/autosys/pass # Location of the... (0 Replies)
Discussion started by: sonja
0 Replies
5. HP-UX
I use the uptime command,but
it only show how long system has been up
up 18 days
but I want the this format
machine boot time YYYY-MM-DD hh:mm:ss
does any command can get that or how to i use program to do this (6 Replies)
Discussion started by: alert0919
6 Replies
6. Ubuntu
Hi masters,
I am still learning trades in kernel. I am trying to learn the basic of daemon programming. Can any one tell me how can I start a daemon automatically during boot up. I will be greatfull if anyone post some example code to the above task.
Also what are... (3 Replies)
Discussion started by: iamjayanth
3 Replies
7. UNIX for Dummies Questions & Answers
I want to disable the auditd daemon on my unix server. Running this daemon on the server causes to system to crash afer every two month. Could any one let me know step by step how to disable it and is there any implication of doing it? (2 Replies)
Discussion started by: skumar11
2 Replies
8. HP-UX
We do not use ntp.conf file. However time's changed automatically.
How can i disbale automatic time adjustment ?
Thank you in advance. (6 Replies)
Discussion started by: v838
6 Replies
9. Programming
How do I get the number of tics or seconds since the last boot?
How do I convert tics to seconds?
Thanks,
Siegfried (3 Replies)
Discussion started by: siegfried
3 Replies
10. Solaris
Hi,
I'm looking for a command to be able to disable a network card under the boot PROM.
I need it to force my Jumpstart to use the Ethernet card of my server (V880) instead of my fiber card (gem0).
Thanks,
Fabien (6 Replies)
Discussion started by: unclefab
6 Replies
TH-CMD(1) Triggerhappy daemon TH-CMD(1)
NAME
th-cmd -- triggerhappy commander
SYNOPSIS
th-cmd --socket <socket> [--passfd] [--tag <foo>] [--clear|--enable|--disable|--mode <mode>|--quit|--udev|--add <devices...>|--remove
<devices...>]
DESCRIPTION
This program is used to issue commands to a running triggerhappy daemon. It utilizes an unix domain socket bound by the daemon.
OPTIONS
--socket socket
The socket file opened by the running triggerhappy daemon instance.
--add <devices...>
Instruct the running daemon to open the input devices specified on the command line
--remove <devices...>
Remove specified devices from the running daemon.
--clear
Remove all devices from the running daemon.
--udev
Deduce operation and device name from udev environment (for use in udev rules).
--disable
Disable the execution of triggers.
--enable
Re-enable the execution of triggers.
--mode <newmode>
Change the mode of the triggerhappy daemon to <newmode>. If no new mode is specified, the daemon switches to default mode.
--quit
Terminate the triggerhappy daemon.
--passfd
Instead of instructing the daemon to open the device, open the device and pass the file descriptor to the daemon. This allows the
adding of new devices to a daemon having dropped its privileges, however the th-cmd process must have access to the device file.
--grab
Grab the device; the triggerhappy daemon will try to get exclusive access to the device, other applications will not receive the events
emitted by it.
--tag foo
Label the added device with the tag <foo>; this can be used to limit the scope of event handlers to a subset of input devices.
AUTHOR
Stefan Tomanek <stefan.tomanek+th@wertarbyte.de>
0.3.4 2011-05-10 TH-CMD(1)