Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

flush(3f) [bsd man page]

FLUSH(3F)																 FLUSH(3F)

flush - flush output to a logical unit SYNOPSIS
subroutine flush (lunit) DESCRIPTION
Flush causes the contents of the buffer for logical unit lunit to be flushed to the associated file. This is most useful for logical units 0 and 6 when they are both associated with the control terminal. FILES
/usr/lib/libI77.a SEE ALSO
fclose(3S) 4.2 Berkeley Distribution May 15, 1985 FLUSH(3F)

Check Out this Related Man Page

FLUSH(1)						      General Commands Manual							  FLUSH(1)

Flush - GTK-based BitTorrent client SYNOPSIS
Flush is a GTK-based BitTorrent client. You can use it to download files from the BitTorrent network. You can control already running instance, for example, by following commands: flush -o --download-rate-limit=100 flush --start=all FEATURES
* Controlling running instance by command line interface, such as: * Starting/stopping torrents. * Changing download/upload rate limit. * Changing maximum connections limit. * Running many instances with different configs from the same user. * Automatic copying finished downloads to specified directory. * Setting custom download path for each file of the torrent. * Ability to choose torrent file's character set encoding. * Automatic torrents loading from specified directory. * Automatic pausing and removing old torrents. * Temporary pausing and resuming torrents. * Overall and current session statistics. * Creating your own torrent files. * IP filter. OPTIONS
--version Show program version and exit. --help Show help options and exit. --config=DIRECTORY Configuration directory path (default: ~/.flush). --download-rate-limit=SPEED Set download rate limit (KB/s). --upload-rate-limit=SPEED Set upload rate limit (KB/s). --max-uploads=NUMBER Set maximum uploads. --max-connections=NUMBER Set maximum connections. --start={all,downloads,uploads} Start torrents. --stop={all,downloads,uploads} Stop torrents. -o, --only-pass Only pass commands to already running Flush instance. Does not start new instance if it is not running yet. FILES
~/.flush Default configuration directory. BUGS
On startup Flush finds already running instances via DBus session bus. Therefore it is necessary to run Flush in a single session bus (usual in X session bus) to prevent running several instances with one configuration path. Please notice that when you are running Flush from console or by cron, when DISPLAY environment variable is not available, Flush finds already running GUI instance without problems via ${config_path}/dbus_session link, which all GUI instances are creating when they have owned DBus name. This makes it possible to control running Flush GUI instances from cron. AUTHOR
Flush was written by Dmitry Konishchev <>. This manual page was written by Dmitry Konishchev <>. Jun 11, 2009 FLUSH(1)
Man Page

14 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Need help on a script

hii i need some help to work out a script to meet the following conditions: it shuld check the dir(LOG) size in a server named x.x.x.x if its 90% then it shuld do ftp to a server with ip y.y.y.yand need to move those files to a particular dir in that server (i.e., in y.y.y.y).Then it shuld... (2 Replies)
Discussion started by: edwin_francis
2 Replies

2. UNIX for Dummies Questions & Answers

Flushing Memory

Hi All, I have a server which has an application which when stopped, doesn't seem to clear out of memory; so I end up rebooting the server. How can I flush the memory without having to reboot the server. (its running Sun Solaris 5.8) Thanking you all inadvance, Zak (2 Replies)
Discussion started by: Zak
2 Replies

3. HP-UX

lp print flush

Dear frnds, i just migrated to hp_ux11i from digital unix, from my new system some printers not printing next day, what i mean is, in lpstat it shows printer is enabled but printing not happening. for that what i do u know, i just disable the lp and enable it again. then it would print. is there... (0 Replies)
Discussion started by: jestinabel
0 Replies

4. HP-UX

Print queue not getting flushed

Hi All, I am new to HP-UX and new to administration world. I have a problem with two HP Laser Jet M5035MFP printers which are connected to HP-UX host machines. Problem is that whenver we print a job, the job gets printed very fine but the queue is not cleared. This makes the further jobs on the... (2 Replies)
Discussion started by: akashgulati
2 Replies

5. Programming

stdout/stdin + flushing buffers

Hi all I've run into a snag in a program of mine where part of what I entered in at the start of run-time, instead of the current value within printf() is being printed out. After failing with fflush() and setbuf(), I tried the following approach void BufferFlusher() { int in=0;... (9 Replies)
Discussion started by: JamesGoh
9 Replies

6. Programming

Clear Serial Port Buffer Using iclear, iflush

Hello, I am having trouble clearing the serial port buffer using the iclear and iflush commands. The code runs without errors being returned, but when I check the buffer again there is still data. The only way I have so far is to read until there is nothing left in the buffer. Shouldn't one... (1 Reply)
Discussion started by: sammy-e
1 Replies

7. Shell Programming and Scripting

flush the mail queue

Hi Guys, My mail queue is showing a mail. I want to flush the queue. Can you let me know how to flush the mail queue. Regards, Magesh (12 Replies)
Discussion started by: mac4rfree
12 Replies

8. Web Development

Flush Ads - Is this code overriding my ads?

I installed a wordpress theme and came across the following code contained in the functions.php (theme functions) file. I am wanting to make sure this code is not over-riding my adsense publisher id and replacing with theirs in the background. I had this happen on another theme and just wanting... (1 Reply)
Discussion started by: blueray1974
1 Replies

9. Linux

sed couldn't flush stdout no space left on device

I am running Oracle Linux enterprise server 5.0. I just installed JDE 9.0 and after I started Webserver my root directory is 100% full. Can some one help me flush stdout. I am new to linux. Sam (5 Replies)
Discussion started by: s1a2m3
5 Replies

10. Programming

which signal will flush the file buffer in C/C++

which signal will flush the file buffer in C/C++? eg. send a signal to flush all the file buffer to a file/stdout with out invoking fflush(). -INT, -TERM? someone please help me, thanks in advance! waiting online... (8 Replies)
Discussion started by: jackliang
8 Replies

11. Programming

Why must flush all line-buffered output streams?

Hi, Mentioned in Stevens & Rago "Advanced Programming in the UNIX" I don't understand why must flush all line-buffered output streams when (a)an unbuffered or (b)a line-buffered stream require data from kernel? (2 Replies)
Discussion started by: Edward114
2 Replies

12. Emergency UNIX and Linux Support

DNS flush is not working

I have a Linux machine and it seems DNS cache is not getting clear on it. It is still showing old values, even after changing in DNS server by Network team. I did /etc/init.d/nscd restart But still it is showing old values on this server. On my rest of servers in environment, nslookup is showing... (7 Replies)
Discussion started by: solaris_1977
7 Replies

13. Shell Programming and Scripting

Command to flush specific domain in SunOS 5 DNS

Hello to all, May you help saying me how to flush a specific domain in Linux SunOS5 I know the command rndc is to flush DNS cache, but I would like to know: 1- How to do a flush only on specific domain 2- How to see the content of DNS Resolver cache (similar to info given by IPCONFIG... (2 Replies)
Discussion started by: Ophiuchus
2 Replies

14. Programming

Why does fflush(stdin) fail to work ?

#include <stdio.h> #include <stdlib.h> int main(void) { double number; while (scanf("%lf", &number) != 1) { printf("Error\n"); } printf("%lf\n", number); return 0; } Look at the... (3 Replies)
Discussion started by: chihuyu
3 Replies