10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Greetings.
I've come across a bit of a problem with notify-send syntax; and wondered if anyone out there had found a solution in the woodpile somewhere :)
Here's the snippet which is giving me trouble:notify-send 'Text to display' image_data 300, 300, , , , , /etc/image.pngOutput:Invalid... (0 Replies)
Discussion started by: LinQ
0 Replies
2. Shell Programming and Scripting
This isn't exactly a question. Just thought I'd share something I just wrote and found useful.
For those of you on modern linux boxen: you may be aware that there's a lovely little tool called notify-send that you can use to send notifications to the desktop. Any experienced shell-scripter could... (0 Replies)
Discussion started by: ryran
0 Replies
3. UNIX for Dummies Questions & Answers
Hello,
how would i be able to call ps in C programming?
thanks,
---------- Post updated at 01:39 AM ---------- Previous update was at 01:31 AM ----------
here's the complete system call, ps -o pid -p %d, getpit() (2 Replies)
Discussion started by: l flipboi l
2 Replies
4. Shell Programming and Scripting
Hi,
I am having a little trouble getting notify-send to work the way I would like it to.
I am using ubuntu - karmic koala 2.6.31-19-generic #56-Ubuntu SMP
So here's the problem
run the following commands one after the other.
notify-send -i info -t 100000 -- "Hi" "world" &
notify-send -i... (3 Replies)
Discussion started by: linuxpenguin
3 Replies
5. Programming
Hi all,
I am facing a problem in recv() system call i.e.. in my project i have to implement timer for sending (data) and resending purpose when there is no acknowledgement.
is there any way that recv() sys call has its own timer i.e., for ex: recv() has to wait for 10 secs.
if any... (0 Replies)
Discussion started by: Rohil
0 Replies
6. Programming
why user is not able to switch from user to kernel mode by writing the function whose code is identical to system call. (1 Reply)
Discussion started by: joshighanshyam
1 Replies
7. UNIX Desktop Questions & Answers
Hi,
I'm new to UNIX system calls. Can someone share your knowledge as to how exactly system calls should be executed?
Can they be typed like commands such as mkdir on the terminal itself? Also, are there any websites which will show me an example of the output to expect when a system call like... (1 Reply)
Discussion started by: ilavenil
1 Replies
8. Programming
Hi,
Am very new to socket programming.
When we use UDP sockets to communicate between two processess,
will both the client/server socket be able to send/recv ?
meaning can sendto()/ recvfrom() be used on both server and client?
It could be useful even if anybody provide some link on socket... (1 Reply)
Discussion started by: rvan
1 Replies
9. Programming
In attachment, is the code to test IP by ARP proxy. I always use it to test a IP already existing in my cluster.
Usage:
arp_func eth0 192.168.1.1
Enviroment:
IA64, RedHat AS3.0, 2.4.21-15.EL, gcc-3.2.3-34,
"gcc -o arp_func arp_func.c"
When the code below added before... (0 Replies)
Discussion started by: lameryang
0 Replies
10. UNIX for Dummies Questions & Answers
Which system calls are made for operations cp and mv (2 Replies)
Discussion started by: gaurava99
2 Replies
strerr(1M) System Administration Commands strerr(1M)
NAME
strerr - STREAMS error logger daemon
SYNOPSIS
strerr
DESCRIPTION
strerr receives error log messages from the STREAMS-based log driver (see log(7D)) and appends them to a log file. The resultant error log
files reside in the directory /var/adm/streams, and are named error.mm-dd, where mm is the month and dd is the day of the messages con-
tained in each log file.
The format of an error log message is:
<seq> <time> <ticks> <flags> <mid> <sid> <text>
<seq> error sequence number
<time> time of message in hh:mm:ss
<ticks> time of message in machine ticks since boot priority level
<flags> T : the message was also sent to a tracing process F : indicates a fatal error N : send mail to the system administrator (hard-
coded as root)
<mid> module ID number of source
<sid> sub-ID number of source
<text> formatted text of the error message
Messages that appear in the error log are intended to report exceptional conditions that require the attention of the system administrator.
Those messages which indicate the total failure of a STREAMS-based driver or module should have the F flag set. Those messages requiring
the immediate attention of the administrator will have the N flag set, which causes the error logger to send the message to the system
administrator using mail. The priority level usually has no meaning in the error log but will have meaning if the message is also sent to a
tracer process.
Once initiated, strerr continues to execute until terminated by the user. It is commonly executed asynchronously.
FILES
/var/adm/streams/error.mm-dd
error log file.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWcsu |
+-----------------------------+-----------------------------+
SEE ALSO
attributes(5), log(7D)
NOTES
There is no restriction to the number of strerr processes opening the STREAMS-based log driver at a time.
If a module or driver is generating a large number of error messages, running the error logger will cause a degradation in STREAMS perfor-
mance. If a large burst of messages are generated in a short time, the log driver may not be able to deliver some of the messages. This
situation is indicated by gaps in the sequence numbering of the messages in the log files.
SunOS 5.11 4 Oct 1994 strerr(1M)