01-24-2014
I don't think you can avoid above problem if you want to include /proc despite the warnings. What happened in your case is that process 3721 disappeared in the middle of du's access, so du read the directory info but couldn't read the data. BTW, the result is meaningless, as no disk space is used by /proc.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hello
I installed solaris 9, but when I reboot the box, I got this message
WARNING:add_spec:No major number for mpt
WARNING:add_spec:No major number for mpt
WARNING:add_spec:No major number for mpt
WARNING:add_spec:No major number for mpt
WARNING:add_spec:No major number for mpt
... (2 Replies)
Discussion started by: lo-lp-kl
2 Replies
2. UNIX for Dummies Questions & Answers
I have a regular user account in one of the solaris machines.
I have been trying to display a message when I log on by modifying my .profile file e.g.
+-------------+
.profile
+--------------+
echo "Welcome <user>"
echo "Today is: "`date`
etc. etc.
The message keeps on popping... (0 Replies)
Discussion started by: run_time_error
0 Replies
3. Programming
Hi all,
I've been trying for hours to figure out how to turn my 2-program (one to send and one to receive) "chat system" using message queues, into a single program where each concurrent component (entity) will both send and receive messages. PLEASE give me a hand with this, I'm starting to... (9 Replies)
Discussion started by: mgchato
9 Replies
4. Solaris
Hi,
I will copy a file with /usr/bin/scp -v /tmp/gaga venus:/tmp
The result is:
PVER1
GERR00Unkonw switch supplied
Wath's the matter
Thank's a lot
Urs (2 Replies)
Discussion started by: MuellerUrs
2 Replies
5. Programming
Hii can anyone pls tell how to limit the max no of message in a posix message queue. I have made changes in proc/sys/fs/mqueue/msg_max
But still whenever i try to read the value of max. message in the queue using attr.mq_curmsgs (where struct mq_attr attr) its giving the default value as 10.... (0 Replies)
Discussion started by: mohit3884
0 Replies
6. Solaris
While logged on to a box, I got the message:
Broadcast Message from oracle (pts/4) on hostname.xx-xxxx.xxx Thu Mar 19 19:00:38...
root: Will system be available for use tonight?
n -----> this was my response
ksh: n: not found
Where does this originate from?
Did somebody send it to my... (6 Replies)
Discussion started by: FeNiCrC_Neil
6 Replies
7. Programming
Differentiate between the message and method. (2 Replies)
Discussion started by: robinglow
2 Replies
8. Programming
May I know how to create message class in order to store input data from the command line, so that the output will come from this class? (4 Replies)
Discussion started by: eel
4 Replies
9. Programming
Hi guys,
I'm in a job of converting a restful webservice to soap. Tool for convertation uses XQuery.
Now i need to convert a message like this:
{
"firstName": "John",
"midName": null,
"lastName": "Smith",
"married": false,
"address": {
"streetAddress": "21 2nd... (5 Replies)
Discussion started by: tien86
5 Replies
10. UNIX and Linux Applications
ssmtp has been running well under Kubuntu 12.04.1 for plain text messages. I would like to send html messages with ssmtp -t < /path/to/the/message.txt, but I cannot seem to get the message.txt file properly formatted. I have tried various charsets,
Content-Transfer-Encoding, rearranging the... (0 Replies)
Discussion started by: Ronald B
0 Replies
LEARN ABOUT OPENDARWIN
tcl_cancelidlecall
Tcl_DoWhenIdle(3) Tcl Library Procedures Tcl_DoWhenIdle(3)
__________________________________________________________________________________________________________________________________________________
NAME
Tcl_DoWhenIdle, Tcl_CancelIdleCall - invoke a procedure when there are no pending events
SYNOPSIS
#include <tcl.h>
Tcl_DoWhenIdle(proc, clientData)
Tcl_CancelIdleCall(proc, clientData)
ARGUMENTS
Tcl_IdleProc *proc (in) Procedure to invoke.
ClientData clientData (in) Arbitrary one-word value to pass to proc.
_________________________________________________________________
DESCRIPTION
Tcl_DoWhenIdle arranges for proc to be invoked when the application becomes idle. The application is considered to be idle when
Tcl_DoOneEvent has been called, couldn't find any events to handle, and is about to go to sleep waiting for an event to occur. At this
point all pending Tcl_DoWhenIdle handlers are invoked. For each call to Tcl_DoWhenIdle there will be a single call to proc; after proc is
invoked the handler is automatically removed. Tcl_DoWhenIdle is only usable in programs that use Tcl_DoOneEvent to dispatch events.
Proc should have arguments and result that match the type Tcl_IdleProc:
typedef void Tcl_IdleProc(ClientData clientData);
The clientData parameter to proc is a copy of the clientData argument given to Tcl_DoWhenIdle. Typically, clientData points to a data
structure containing application-specific information about what proc should do.
Tcl_CancelIdleCall may be used to cancel one or more previous calls to Tcl_DoWhenIdle: if there is a Tcl_DoWhenIdle handler registered for
proc and clientData, then it is removed without invoking it. If there is more than one handler on the idle list that refers to proc and
clientData, all of the handlers are removed. If no existing handlers match proc and clientData then nothing happens.
Tcl_DoWhenIdle is most useful in situations where (a) a piece of work will have to be done but (b) it's possible that something will happen
in the near future that will change what has to be done or require something different to be done. Tcl_DoWhenIdle allows the actual work
to be deferred until all pending events have been processed. At this point the exact work to be done will presumably be known and it can
be done exactly once.
For example, Tcl_DoWhenIdle might be used by an editor to defer display updates until all pending commands have been processed. Without
this feature, redundant redisplays might occur in some situations, such as the processing of a command file.
BUGS
At present it is not safe for an idle callback to reschedule itself continuously. This will interact badly with certain features of Tk
that attempt to wait for all idle callbacks to complete. If you would like for an idle callback to reschedule itself continuously, it is
better to use a timer handler with a zero timeout period.
KEYWORDS
callback, defer, idle callback
Tcl 7.5 Tcl_DoWhenIdle(3)