I'm often playing videos from my external hard disk, and, well, it has issues. It'll often spin down and it often takes 5-10 seconds to spin back up in order to keep reading files. This is really terrible for video playback, as it'll often completely hang until the drive spins back up. Is there a way that I can tell VLC to set a larger buffer to at least give me more buffer into the future so the drive will have time to spin up when the buffer runs out?
I am having a Oracle server installed on Linux server. I want to clear the buffers after a certain time interval. I use the following command for the same.
echo 3 > /proc/sys/vm/drop_caches
Can I have a script which will execute the above script after certain time interval OR a script which will execute the above command when certain memory size is reached.
I need to use php to run some scripts locally. I tried it with system, exec But it only brings back on line. Ideally I want to take all the out put back on my browser.
PHP ------>shell scripts ------> error + plus out put ^--------------------------------------------| some thing like that.
I would like to set Y and P to copy and paste directly to the system clipboard instead of vim buffer. I don't want any additional commands. Just the normal ones, but they should copy to and paste from the system clipboard and bypass the vim buffer.
I've got some high quality videos I want to run on vlc, but they require a higher buffering rate then the default for vlc. With the default the video skips every second or so and pixelates now and again. I've run the video on vlc on windows before and I found a buffer rate to change to make the video run smoothly, however, I don't remember what the value I changed was and when I looked through the ubuntu vlc options I didn't recognize it immediately.
I'm using CentOS 5.4 servers installed in a VMWare virtual machine with no X.Org server installed, so all access is via command line and the linux terminal. I use Shift-PgUp to view the scrollback buffer, but its size is very limited. How do I increase the size of the scrollback buffer?
I'd like to make an indirect control for Emacs (in Ubuntu Linux) so that I can swipe some text in an xterm with the cursor, cutting it into the X cut buffer, then run a macro in Emacs to parse the cut buffer text to look for text saying "line XXXX" where X is all digits, then go to that line in the current Emacs buffer. I think this is possible by using emacsclient to get emacs to run a macro, then the macro parsing the cut buffer, then issuing a goto-line command to the number that's been parsed. My problem is I don't know how to write the emacs script to read the X cut buffer and parse it.. I've been going through cookbook examples but none seem to fit.
My goal is to ease development. When I have an error/information/status message printed in an xterm, I want to swipe the error message which says something like "syntax error on line 2776" then press a keyboard shortcut which Ubuntu will interpret to launch emacsclient, which causes my already-open Emacs to grab that text, parse it, and go to the line number I just swiped. Only this last step of parsing is the hard part. (Yes, I know you can run a shell INSIDE of emacs, but this is doesn't fit my workflow). How would I make emacs look at that X cut buffer and parse out the line number and issue the "goto-line" command to the current buffer?
I need a shared buffer between user and kernel space. I read that one way is to allocated buffer in kernel and then call mmap from the user space. I searched for an example but couldn't find something useful. If you know, could you please send me any links or sample code that does this..
Im having xeltek eeprom programer but I cannot read the chip data on the buffer file, when I read the chip using programer the datas are being sent to the buffer I can just see the adress line ,hex line and ascii line then I dont know which is the exactly data ,
perhaps I've been typing for 20m and, in command mode, I accidentally press a key that undoes all of my work. What would be one of the more elementary undo commands
I am facing a problem while installing backtrack 4.0 on my virtual box. After assigning a hard drive and booting from the live cd, i am receiving a error message as follows:
Loading, please wait... Buffer I/O error on device hdc, logical block 76636 (this statement gets repeated like four times with different logical block id. SQUASHFS error: squashfs_read_data failed to read block 0x5bb337b9 SQUASHFS error: unable to read is index table.
It is not the first time i install operating systems on virtual box though it is the first time i receive such an error with backtrack.
We know that, in a network, data transfer time is dependent on capacity of the receiving node. I have two Linux systems A (sender) and B (receiver) connected. I want to simulate congetion in a network, that means I want to increse the time taken to transfer some data. I believe, I can do this if I can reduce the capacity of the receiver node B. That perhaps possible by decreasing the receiving buffer size of B. How can I change the receiving buffer size of this linux system B?
The external hard drive which contains all my photos and where I backed-up all my important documents is no longer recognized. It is a three month old 500GB Iomage Prestige Desktop Hard Drive.When I plug it in, it is recognised as a USB device, because it shows up when I type lsusb, but dmesg gives this error message.
[19712.013250] usb 2-2: new high speed USB device using ehci_hcd and address 21 [19712.145347] usb 2-2: configuration #1 chosen from 1 choice [19712.147214] scsi25 : SCSI emulation for USB Mass Storage devices
[code]....
I popped the disk out of the casing put it on a SATA connect internally and then tried the file recovery programs testdisk/photorec and SpinRite, but both failed because they couldn't recognize the external hard disk.
i got a Thinkpad R61 with a Matshita drive and, as the title says, I cannot play audio cds. After inserted a cd, syslog shows:
[Code]...
I did't know if this is an hardware issue so i tried an external dvd drive but i got the same errors. To play cds i tried different programs: xmms2, cdcd, mplayer and sound-juicer and different cds (all original if this matter) but without luck. I also tried a different kernel version, actually i'm using a custom one, using a debian precompiled ones (package linux-image-2.6.32-5-amd64) but again without luck. Here a relevant kernel configuration:
Issue: My wife can type about 70wpm. And uses the computer to write short stories. She has been bitten before and as a results saves often. In fact she CTRL+S (saves) at the end of most sentences and every paragraph out of habit. In MS Word she could keep typing while the computer saved, and once MS Word was done saving it would drop all the buffered text onto the page. OpenOffice3.2 doesn't work this way. She has discovered that while it is saving and she is still typing the text doesn't go into the buffer and she looses the text she has typed. She is reporting to me that she looses a couple of words since the saving takes about 1-3 seconds.
My thoughts before I get home tonight: I was thinking of whipping out the video camera and showing everyone.Switch to LibreOfficeSee if it happens in other applications, maybe plop her down in gedit and see what happens, it could be an when writing to HDD keyboard buffer doesn't work.
I have a one problem when i mapped a SAN to the linux box RHEL 5.3 i show the following messeage Buffer IO error on Device /dev/sdband unable to find it in fdisk -l
When I am burning iso with k3b its slow, buffer is underrunning. Burning under root account is fine, no buffer underruns. I think this is permission problem....
I have to give it up for the Ubuntu developers. It is nearly impossible to exploit a simple stack overflow. I'm studying overflows for a project so I need it to work. I set /proc/sys/kernel/randomize_va_space to 0 and when I compiled my program I used -mpreferred-stack-boundary=2 and -fno-stack-protector. But for some reason no matter how much input I enter it won't overwrite the EIP. What is stopping this from working that other linux versions don't have? And does anyone know of a way to bypass it?
I have read that if /tmp is too small, videos choke, and other problems occur.
On my machine, one of the problems was that I couldn't download things because /tmp got full and when I went in to delete some tmp files, I wrecked the system...(not too intuitive I guess).
So this time around, how can I increase the size of /tmp, as well as have it emptied on startup?
I don't want to have it emptied on shutdown, because if I get a crash, the /tmp will still be full...shutdown just doesn't seem to be a reliable place to put essential housekeeping tasks.
i got major problems with mencoder.I work like this.1.) Demux Audio.2.) 2 Passes Encode. The second Encode includes the Audio.And there i got the problem:Too many audio packets in the buffer: (4100 in 1043395 bytes).Maybe you are playing a non-interleaved stream/file or the codec failed?For AVI files, try to force non-interleaved mode with the -ni option.I tried likely anything possible.How to fix that ?Before that i got the issue with demuxing the audio where i got a massive amount of "Too many buffered pts" errors. I overcame this by adding the nocorrect-pts option.
I wanna capture network packets from DMA ring buffer, just like netfilter. i wanna capture it from DMA, because i wanna get MAC address of I/O packets, so netfilter not included MAC address of out going packets because its on IP level and Ebtables is like that too. how i can capture network packets from DMA ring buffer.