General :: How Long Do FIFOs - Named Pipes - Stay "open" For

Aug 2, 2011

For example, I have a script that writes the time to a pipe in /etc/pipe. It writes continuously in a while true loop. How long will the data in the pipe be available for reading? If I only decide to read the pipe a day later with cat /etc/pipe, will I get all the time values right from the time I started writing?

Conversely, what if my loop only wrote the time every 10 minutes. Will I be able to access everything a day later?

Finally, pretend my loop writes the time continuously (like my first example) and I read the pipe every 30 minutes. If my computer shuts down right before I read the pipe, will the pipe be empty when I reboot or will it hold all that data?

View 1 Replies


ADVERTISEMENT

General :: Use Named Pipes On System Network?

Jun 24, 2010

How to create and use named pipe on linux network.ie
client - my linux machine
server - my fren's linux machine

how to communicate between these two using named pipe created in C? do u have any similar code snippet written in C??

i got one server client application,its working fine on my machine.So i want enhance that code for networking.so help in this...

View 6 Replies View Related

Programming :: Difference Between Message Queues And Named Pipes

Mar 1, 2011

recently I had been to interview where I had a question to be answered, that what are advantages and disadvantages when desiging an application in linux.

View 1 Replies View Related

Server :: /etc/named.conf:57: Open: /etc/named.root.hints: File Not Found

Apr 1, 2011

I am using Cent OS 5.5 and i want configure DNS, but while configuring bind i am getting below error.

#/etc/init.d/named restart Stopping named: [ OK ]
Starting named:
Error in named configuration:
/etc/named.conf:57: open: /etc/named.root.hints: file not found[FAILED]

View 2 Replies View Related

OpenSUSE :: Monitor To Stay On For Long Periods Of Time?

Dec 1, 2009

I am useing a PC as a simple display and I need the monitor to stay on for long periods of time. I have set the power saving setting to "presentation" mode and it is not supposed to turning the monitor off. Is there somewhere else I need to adjust this??? I am running OpenSUSE 11.1.

View 7 Replies View Related

Ubuntu Networking :: Wireless Connection Not Stay Connected For Long

Feb 8, 2010

When I turn on the computer, it connects to wireless automatically. That's good. But it doesn't stay connected very long. Especially if I turn on a p2p program or make a call through messenger. Then I get disconnected suddenly and if I want to connect again it doesn't work anymore. Network - You are now disconnected and that's it. Every time it happens I restart the system. I use an Acer Aspire 5738z laptop.

View 1 Replies View Related

Fedora :: DVD Drawer Won't Stay Open?

Apr 12, 2010

I just installed FC12 (2.6.31.5-127.fc12.x86_64) alongside Windows7 on a brand new box, and the DVD drive is driving me nuts. In FC, I can't get the DVD drawer to stay open. When I press the eject button, r slides out, but then slides right back in again immediately. When I start the SystemTools->DiskUtility (Palimpsest), the Eject function is grayed out.The drive itself seems to work just fine, I used it for the FC install from LiveCD. In Windows, the drawer works properly.The only device info I can see for the drive is DH16AAL, I don't know if that's a model no. and I don't know the manuf. Says SCSI, but it's got a SATA cable. The rest of the box is:

View 10 Replies View Related

Ubuntu :: Brasero Will Not Stay Open?

May 14, 2011

Every time I try to open Brasero, it opens for an instant and then closes. I can't get it to open.

View 4 Replies View Related

Ubuntu :: Add Programs Window Won't Stay Open?

Jan 21, 2010

Why is it that the Add Remove Program Window won't stay open in 9.10? I added a few Video Programs. It was working fine,but now I can't remove any Programs. The Window will open for a few seconds, but then closes.

View 9 Replies View Related

Red Hat / Fedora :: Terminal Screen Won't Stay Open?

Mar 30, 2010

Forum, I note many references re best to not use root when doing general work in the terminal screen but when I try and log in as another user the screen disapearsWith a server, can the users (windows xp pc's) use their login to login on a server terminal screen or do I need to create a new user for the server only??Using Putty to get in as root but with so many warnings out there it is only time before the &$%@ hits the punker

View 2 Replies View Related

Software :: File /var/lib/named/var/named/reverse/named.zero Failed: File Not Found

Mar 14, 2009

Mandriva 2009, BIND 9.5.0-P2. Named will start however I'm getting the above error as well as these:

14-Mar-2009 15:45:37.084 general: error: zone 0.in-addr.arpa/IN: loading from master file /var/lib/named/var/named/reverse/named.zero failed: file not found
14-Mar-2009 15:45:37.084 general: error: zone 0.0.127.in-addr.arpa/IN: loading from master file /var/lib/named/var/named/reverse/named.local failed: file not found

[code].....

Named shows to be running but with the errors above I know it's not running correctly. I also copied the above dir's over to /var/lib/named/var/lib/named which is where I 'believe' it's chroot'd at, though I could be wrong since I'm unfamiliar with chroot.

View 14 Replies View Related

OpenSUSE :: Configure Always Stay On And Leave Connection Open?

Aug 24, 2011

I'm using Opensuse on a small computer that needs to run a web site 24/7/365. It's an mp3 player, it's used for music, the player is an html5 player that runs in fullscreen mode of firefox.It's connected to a TV via HDMI. I've set all possible power options so it never sleed, idle, hibernate or close. Same thing for display, never dim or turn on screen saver. Although the TV is not ALWAYS on the PC's HDMI input, sometime switching to TV Tuner and other time to PC display.So if we switch the tv's input to tuner and the to PC, opensuse won't re-detect the display and the TV will say NO SIGNAL until I completely reboot the PC ... very annoying ... The other problem is that the TV is far from the server so I need to use VNC and re-open firefox, go to the player and re-set fullscreen mode. But worst, I can only use VNC once. If I want to reconnect via VNC, I need to login SSH, restart service and then I can connect ...1. How can we set VNC to ALWAYS accept connection and that from a fresh boot ?

View 4 Replies View Related

Ubuntu :: Gnome Terminal Wont Stay Open?

May 27, 2010

when i click on the terminal icon , it opens up for a split second but then closes right away . I've tried alt+F2 and clicked on run in terminal but still same problem. how can i fix this ?

View 6 Replies View Related

Fedora :: System-config-users Wont Stay Open?

Nov 5, 2009

when I open this it opens up greyed out for a split second then closes.I started it in a console ,it did the same but the following was left in the terminal

Code:
[tytower@localhost ~]$ system-config-users
Traceback (most recent call last):

[code]...

View 2 Replies View Related

OpenSUSE :: Make Yast2 Stay Open After Installing Packages

Aug 17, 2011

I would like to be able to make the Yast package manager stay open after installing or removing packages.

View 9 Replies View Related

General :: Difference Between Pipes And Redirects

Apr 30, 2011

I've been using pipes and redirects for a long time and just realized that I don't know exactly how they are different. I just know that if you want to store the output in a file, then you use >. Otherwise most of the time you just use |. difference between pipes and redirects?

View 1 Replies View Related

General :: Pipes And Redirect / When To Use Theses?

Jul 31, 2011

Although this is a basic stuff, but still i wonder.
Consider these two examples. code...

I wonder, why doesn't redirection work in first case? when to use redirect and when to use pipes? I have been Linux for a long time, but still this basic stuff baffles me.

View 2 Replies View Related

General :: File Descriptors With Pipes

Jun 4, 2010

File descriptors with pipes-Can someone help me with this three situations, what would happen?

a) a process open the same file twice and read through two file descriptors
b) a process does fork and both parent- and child-processes read parallell
c) two processes opens and read from same file.

View 5 Replies View Related

General :: Strange Using Pipes With Ssh As Root?

Jan 31, 2011

has anyone seen this before, when running an ssh command as normal user via ssh i get results:

ssh picolo 'ls -d /var/sadm/pkg/* | egrep "Prod|Dev|UAT" |cut -d/ -f5;uname -r;grep -v "^#" /opt/Tivoli/lcf/dat/1/DMXAdaptiveFileSystem.dat'>>sshnotroot
and it creates file
more sshnotroot
Prod
5.10

[Code]...

View 3 Replies View Related

Ubuntu / Apple :: EMac CD Drive Won't Stay Open When Told To Eject

Jun 20, 2011

I have tried eject /dev/cdrom, sudo eject, pressing the eject button but whenever i do , it just opens for like 1 second then closes right back. is this fixable within Xubuntu, or is this a physical problem with the cd drive?

View 4 Replies View Related

Ubuntu :: Enlightenment 0.17 - Long Time To Open Nautilus?

May 21, 2010

My PC is a Core2Duo7400/4gbRAM/9600GT. I install Enlightenment e17 on Ubuntu 10.04. It works perfect and runs very fast, but I have a little problem. When I open any browser (Firefox, Chrome, Opera) and a right would click -> save image takes a long time to open the box. I've noticed that happens only once, at first. if I open nautilus, it is the same, it takes quite at first, but only once. I think it is being loaded "some" of gnome and I want to load on boot.

View 4 Replies View Related

Ubuntu :: Takes A Long Time To Open A Browser ?

May 11, 2011

After upgrading to a 64-bit Ubuntu 11.04, I have found that it takes a lot longer to open any browsers such as Firefox, Google Chrome or Opera. Does anyone know why? I thought 64 bit Ubuntu should be faster than the 32 bit version. Nevertheless, I see no difference besides the browser problem mentioned above.

View 9 Replies View Related

General :: Program That Reads Multiple Pipes / File Descriptors And Writes To Standard Output

Feb 23, 2011

Is there already a program that reads multiple pipes or file descriptors and writes to the standard output (not splitting lines).Like cat, but reading all files simultaneously and preserving lines.It is needed to avoid coding of select/epoll loops or using multithreading in simple programs. Like "select loop for bash".

View 1 Replies View Related

Ubuntu :: File Properties Takes A Long Time To Open

May 6, 2010

I have a newly installed Kubuntu 10.04 running here, works fine except for one thing.

I have a kind of "fileserver" and it has a samba share that I have mounted in the home folder of my desktop computer ("/home/xxx/fileserver", the server is running an older version of Ubuntu, can't exactly remember what it is but the filesystem is ext2, if that's of any importance).

I have large files on the server, mostly video. When I use Dolphin (or Konqueror, doesn't make any difference) and right click one of these large files and choose Properties, it takes a LONG time to load the properties window. As if it copies the file to local hd before opening properties, or something.

The reason why I posted here and not in the networking section is, that I had the exact same setup with my previous installation which was Kubuntu 8.04, and also at least three different Ubuntu's before that. Never had this problem before, so I think my server and networking thingies are okay.

View 1 Replies View Related

Fedora :: Close Minecraft - Freezes And Stays Open For A Long Time

Aug 10, 2011

I installed Fedora 15 last week, on my main PC, and I absolutely love it. Defintely my favourite operating system. Now I have a few questions. I thought I would put them all in one thread, instead of making seperate ones. I did search before I posted, and I cant seem to find any solution to my problems. So here it goes.

First question, I am using evolution for my e-mail program/client. My email addresses are all hosted by hotmail. Now I have set them all up correctly, but cant seem to send e-mails(I recieve them perfectly fine). I am using the "smtp.live.com" server, and using SSL encryption. I have tried messing with the settings but have had no luck. Has anyone figured out how to fix this?

Second question, I play minecraft frequently, and I am currently starting the program via terminal [java -jar /home/username/minecraft.jar], which works flawlessly. However it is too slow(open terminal, type it in. I need a simple click), is there any other way to start minecraft?

Third and last question, What is the best way to close minecraft? I notice if I just close it(via right click, and close, or clicking the X) it freezes and stays open for a long time. Is there any better way to close it?

View 3 Replies View Related

Ubuntu :: Slow - Opening A Folder Takes A Long Time To Open Nautilus

Nov 26, 2010

I have been using ubuntu for a while and i like it a lot, im a web developer and i have windows xp installed in virtual box, i moved completely to linux and just use windows to test in ie, it had been a while since i didnt use windows and i had to use in the last few days and noticed how much faster it is, the thing that bothered me the most is when opening folders in the desktop or the recycle bin, in windows its instant, in ubuntu opening a folder takes a long time to open nautilus, is this normal or is my installation bad, any comments are appreciated, i dont want to abandon ubuntu, i really like it but it really bothers me that nautilus is so slow to open.

View 9 Replies View Related

Ubuntu :: File System Check Failed A Long Is Being Saved /var/long/fsck/checkfs

Jan 9, 2010

just start Ubuntu 9.04 said: File system chek failed a long is beging saved /var/long/fsck/checkfs if that location is writable Please repair the file systmen manually A maintenance shell will now be started Ctr+ D terminate this shell and resume system boot. Give root password for maintenance or type Control +D to continue. I did Ctr+D , and after login said , that can not find /home. I starte with the live cd:

[Code]....

View 9 Replies View Related

CentOS 5 Server :: Named Won't Start \ Named Stop But Does Not Start Again?

Oct 28, 2009

i've made a big update of almost 300Mb.I'had a working DNS server.Now, when i boot the box, named works and it resolves all the clients.If i make any change (enter a new client for example) and of course i restart named (service named restart), named stop but does not start again !!!In order to get a working named, i 'm obliged to reboot the box?

View 6 Replies View Related

Ubuntu :: Netcat Output Pipes And Redirection ?

May 25, 2010

I'm trying to redirect nc command output but I can't do it.

I have tried this:

And this:

But it seems doesn't work.

View 3 Replies View Related

Networking :: Combine Two Network Pipes For MegaSpeed?

Apr 14, 2011

I have two sources of internet which I want to share and balance the load on. With one source it's easy: plug it into the wireless router and Bob's your uncle. But how would you handle two sources and get load balancing? A switch? Would that really share the load?

View 4 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved