Sponsored Content
Full Discussion: System Resources?
Top Forums UNIX for Advanced & Expert Users System Resources? Post 44528 by Perderabo on Monday 8th of December 2003 10:43:31 AM
Old 12-08-2003
I just do a setvbuf(stdout, NULL, _IONBF, 0) if I don't want buffering.

But I'm not sure that buffering per se is the issue here. The "lose valid data" does not strike me as the way to describe a delay in seeing the data. It may be that the OP has a bug that resulted in re-using the area already assigned as a buffer. When the buffer fills, the other data is trashed. If this is the case, turning off buffering may hide the symptom, but it does not fix the root problem.
 

3 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

VI hogging system resources???

Hello all. I was on my pc last night when I noticed that my hard drive light was on and when I typed in "uptime" I recieved some crazy load averages. load average: 3.30, 3.07, 2.95. Anyway I type in "top" to see what processes are being the resource hogs and im surprised as hell to see that one... (2 Replies)
Discussion started by: ThePreacher
2 Replies

2. UNIX for Advanced & Expert Users

Looking for utility to monitor system resources

Hi Community, I'm looking for a linux based utility for monitoring following system resources 1. Memory 2. CPU Usage I know there are plenty freewares which poll the data and print in form of html pages. For eg. MRTG, Novel's Linux Monitoring tools etc. But my requirement is deviated a... (1 Reply)
Discussion started by: anilgurwara
1 Replies

3. Ubuntu

Xorg is taking System Resources.

Hi All, I am facing System Speed problem.i saw in top command Xorg process was taking most of the time 20% of CPU and Memory.How to make it normal. Currently i am using AMD Athlon 64 HT technology processor(Socket 939) 512 DDR1 RAM Nvidia 5200 GeForce 128 MB Graphic card. i need help in... (2 Replies)
Discussion started by: arvindk.monu
2 Replies
shareall(1M)                                              System Administration Commands                                              shareall(1M)

NAME
shareall, unshareall - share, unshare multiple resources SYNOPSIS
shareall [ -F FSType [ ,FSType...]] [-| file] unshareall [ -F FSType [ ,FSType...]] DESCRIPTION
When used with no arguments, shareall shares all resources from file, which contains a list of share command lines. If the operand is a hyphen (-), then the share command lines are obtained from the standard input. Otherwise, if neither a file nor a hyphen is specified, then the file /etc/dfs/dfstab is used as the default. Resources may be shared by specific file system types by specifying the file systems in a comma-separated list as an argument to -F. unshareall unshares all currently shared resources. Without a -F flag, it unshares resources for all distributed file system types. OPTIONS
-F FSType Specify file system type. Defaults to the first entry in /etc/dfs/fstypes. FILES
/etc/dfs/dfstab ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWcsu | +-----------------------------+-----------------------------+ SEE ALSO
share(1M), unshare(1M), attributes(5) SunOS 5.10 6 Nov 2000 shareall(1M)
All times are GMT -4. The time now is 02:52 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy