01-23-2014
You certainly don't want it digging into /proc/, its contents aren't real files at all, it's a virtual filesystem which shows kernel and process statistics. It's a really bad idea to trawl it even when it's not spitting errors. /sys/ is another virtual filesystem, one unique to linux, which you should avoid trawling. I'd advise you to fix this problem on all your servers, even the ones not complaining.
What exactly are you trying to do? Are you trying to measure the size of the / filesystem alone? du -shx / should do that, the -x will prevent it from wandering into different filesystems (including virtual ones like /proc and /sys).
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 LINUX
filesystem