Software :: Selecting Last 60 Minutes From Log Files?

Apr 9, 2009

I'm monitoring 20 asterisk servers and I've developed a small php utility that displays me their errors when they happen.Currently I'm using the something like this:tail -5000 /var/log/asterisk/full | egrep -i "ERROR|WARNING" > errors.logThe problem with this is that some servers are getting more traffic then others resulting that on one box 5000 lines might last 5 hours and on another 5 minutes. And as such what I see on the screen might be outdated by a few hours or scrolls too fast for me to see.I'd like to know what would be the most efficient command to extract only the last 60 minutes and perform my egrep on that. Cron is setup every minute.Here's a sample of the log format:

Code:
[Apr 9 08:21:38] VERBOSE[13499] logger.c: Found request for channel [1239279644.1537]
[Apr 9 08:21:38] VERBOSE[13499] logger.c: CTI Asked for EXECAPP on channel [Zap/16-1],

[code]...

View 5 Replies


ADVERTISEMENT

Ubuntu :: Selecting Multiple Files With Shift + Arrow, Tux Commander, Gnome Commander?

Nov 19, 2010

Ubuntu 10.04 LTS Lucid Lynx
Tux Commander 0.6.7.0-dev

When I use the default graphical file manger in Ubuntu, holding down the shift key and pressing the up or down arrow keys will select multiple files. This doesn't happen in Tux Commander or Gnome Commander. I tried looking through the preferences of each application and googling on my question. No dice. Is there anything I can do to get this functionality?

View 1 Replies View Related

General :: How To Remove All Files That Created N Minutes Ago

Mar 4, 2010

I guess in most cases when extracting a tar achive ,we will get a directory with the same name as the archive file but different suffix. but in some unlucky case, as I met today, after extract a tar bar I find lots of files spread in the working directory, which is really nuisance.so what I want to learn from you is that how can I move thoes newly created files ? I know it should be some "find plus rm" fancy approch there, but I don't know exactly how.

View 3 Replies View Related

General :: `mencoder` Captures 10 Minutes Of Audio In Less Than 10 Minutes?

Mar 15, 2011

I'm using mencoder to capture audio from a Encore ENLTV-FM3 video capture device. I have recently noticed that, since one week ago, when the machine was forcibly restarted due to a power outage, all recordings are slightly pitched, they play back slower than they should.

I narrowed down the problem to the following command line:

$ time mencoder -really-quiet -tv driver=v4l2:device=/dev/video1:chanlist=us-cable:audiorate=32000:alsa:adevice=hw.1:input=0:amode=1:normid=11 -endpos 00:10:00 -ovc copy -oac pcm -of rawaudio -o test-32000.wav tv://69
real 9m54.886s
user 0m5.536s
sys 0m1.740s
$ ls -l test-32000.wav
-rw-r--r--@ 1 martin martin 76800000 Mar 15 17:20 test-32000.wav

Somehow, mencode managed to gather precisely 10 minutes worth of raw audio in 9m 55s. That's not physically possible, unless the capture device's A/D converters are "overclocked". I can't think of any other explanation besides hardware failure. Can that be? Could it be that something got burnt during the power outage and now the capture device's internal clock went nuts?

Since the machine's restart, I've also noticed dmesg is flooded with entries like this:

CE: hpet increased min_delta_ns to XXX nsec

Which seem to indicate that the computer's high precision event timer is somehow out of sync. Does this have to do with the audio issue? Can it be that the audio converter's sample rate is linked to the HPET? I'm totally lost here. Has anyone bumped into something similar?

View 2 Replies View Related

Ubuntu :: Shift+down Key Not Selecting?

Apr 26, 2011

When I open the nautilus and press shift+down key i cannot select icons. Similarly, if i open some text editor (gedit) if i press shift+down key, i cannot select text. Shift+up left and right keys are normal. Only shift+down key is having problem.

View 3 Replies View Related

Fedora :: Selecting Restart Logs Out Sometimes?

Aug 25, 2009

When I select restart from the shut down menu sometimes instead of shutting the system down it insteads just ends my session and logs me out (which leads me to believe perhaps my session is crashing when it tries to reboot?

View 1 Replies View Related

Fedora :: Selecting Best Server To Get Packages?

Aug 2, 2011

After a fresh install of fedora 15 gnome 3 I need to download some packages so I can start working with it. but when I try to get them using yum or packagekit, servers are very slow, so i need to find a fast server for my connection like I used to find in ubuntu. there was an ability in package manager to ping all the servers and choose the best one, and I cant find such thing neither in yum nor in packagekit. Is there anyway to do that in fedora 15 ?!

View 2 Replies View Related

Slackware :: Essentials - Selecting A Kernel

Jan 13, 2011

Slackware 13.1 is installed using the installer defaults and I have do nothing else, that I know of, other than installing wireless. (wicd) (I originally installed lilo to the MBR which did not include LMDE in the menu so I re-installed LMDE and Grub included Windows, Slackware and LMDE in the boot menu, as I wanted.) The book, in section 4.2 talks about 'Selecting a Kernel' I don't understand the 'why' of this section. Slackware is working, right? 'It talks about compiling a Kernal from source' - do I need to do this? Why?

View 18 Replies View Related

Debian :: Selecting An IMAP Server Application

Jul 15, 2011

I have installed and setup Postfix.I have tested Postfix by sending and receiving mail with it.I can see the mail has landed in /var/mail.I will have to setup an IMAP server to deliver the mail to my mail client, Thunderbird.I love easy to use software that is very easy to setup.What recommendations do people have for selecting an IMAP server application?

View 2 Replies View Related

General :: Tool For Selecting Window By Searching In X11?

Oct 7, 2010

I often have many windows open on many virtual desktops and I have hard time finding some application.

So is there any tool for searching open windows?

Currently I using Awesome as my window manager, but it does not need to be dependent on it.

View 3 Replies View Related

Ubuntu Installation :: Keyboard Won't Work When Selecting An OS

Jan 29, 2010

I have Windows XP Pro SP3 installed, and I just dual-booted it with Ubuntu. Whenever I reboot to select an OS, my keyboard won't work, so I can't select Ubuntu. Just Windows.I'm using an Saitek Eclipse USB keyboard.

View 3 Replies View Related

Ubuntu :: Selecting Grub2 Splash Images?

Mar 28, 2010

I just installed the Grub2 splash images package in Synaptic. The documentation explains how to install them, but I dont see any reference to previewing them. Is there a way I can preview them and see what's available before I decide to install?

View 3 Replies View Related

Ubuntu :: Automatic Context Menu When Selecting Url

Sep 9, 2010

I don't know how it came and how to disable it but here is something that will turn me crazy:with Lucid, when I select an URL (or a part of it), an automatic context (popup) menu appears and shows me different options like "Open in Firefox", "Send URL", "Open in Mozilla" and "Open in Opera".I really would like to disable it because I always have to press "Esc" to be able to do a copy-paste.We are a few on the french forum to have the same problem and we cannot find a solution, so I try the "international" forum.

View 7 Replies View Related

Ubuntu :: Selecting Certain File Types By Extension

Mar 6, 2011

I am trying to move files from one folder to another based on their file extension. I can do it with a single extension, but I want to match multiple.

Example:

This works, but I want it to not only match mov, but also mpg, flv, mp4, etc. I would think something like [mov,mpg,flv] would work, but it doesn't.

View 4 Replies View Related

General :: Selecting A Distro For An Ancient Computer?

Apr 11, 2010

I've got this old computer. PII processor, 4gb HDD, I forget how much ram but the mobo is an AOpen AX63 pro [URL].. The machine still runs great. I just finished cleaning all the connections with alcohol and putting the thing back together. I've got Ubuntu 5.10 on it right now, but with so little in the way of system resources, I want to get something more scaled down on there. Googling hasn't resulted in anything really useful.

So, does anybody know of a scaled down distro aimed at old computers? Obviously something current would be great (I considered trying to find a netbook distro and use that, but I don't know if there would be any issues using that kind of thing on a desktop.) but I'd be willing to use an older distro if I need to. I really just want to use it as a writing machine, with maybe some basic internet access.

View 4 Replies View Related

General :: Selecting A Distro For An Old Laptop ( IBM ThinkPad R40 )?

Jun 17, 2011

i got given an old IBM think pad R40 laptop with a broken HDD and im looking for a linux distro for it, its got 128 mb of ram and a mobile P4 - M 1.80ghz processor all im gonna use it for is basic word processing/taking notes in the field etc. but i would like to have a reasnoble GUI ive tried Puppy, DSL and SLITAZ but their GUI's are rather crude.

View 14 Replies View Related

CentOS 5 :: Selecting The Hard Disk Partition?

Apr 2, 2009

i have Cent OS 5.2 CD (6) with me. I need to install it in my hard disk. I have already installed Windows XP in C: partition. I need to install Cent OS in D: partition. During installation process its asking for hard disk partition. In this regard, how to select the partition. I have C,D,E and F partitions and C,E and F are in common use. So i have to install Cent OS in D partition.

View 3 Replies View Related

Debian Installation :: Installer Reboots When Selecting Install

Aug 22, 2015

I'm trying to install Debian 8.1 LXDE 64bit on a Toshiba Chromebook cb30 from usb. When I select 'install' the laptop restarts and gets me back to the installer menu. I removed 'quiet' from the boot options and it seems that the reboot happens after initrd.gz is read. I previously installed the 32bit version on the chromebook and the installation process worked pretty much without any issues. I might have added 'mem=1024m' to the boot options, though even if I did, this doesn't do anything to my current attempt.

The chromebook processor according to `uname -a` is x86_64 Intel Celeron 2955U. how I could install the image or start debugging the issue?

View 2 Replies View Related

Fedora :: OpenOffice Selecting Text Drags Window?

Jan 10, 2011

I have this really strange openoffice behavior. Normally to drag window i need to press alt+left_mouse_button and drug window. Exactly same result i'm getting while selecting text in OOo writer and impress. As simple as holding still for, literally, a second, while selecting text, will initiate dragging of the entire window. I'm running F14_64 KDE and using OOo from repos.

View 3 Replies View Related

OpenSUSE :: Banshee 1.5.2 Crashes On Selecting Import Media In 11.2

Jan 9, 2010

I'm running banshee 1.5.2 on opensuse 11.2 (x64) with KDE 4.3.1 release 6. Each time I select the Import Media option banshee simply crashes. I have reinstalled/upgraded banshee from scratch but still get the same issue. Here is what I see in the debug (banshee-1 --debug) log at the point of the crash.

Marshaling style_set signal
Exception in Gtk# callback delegate

Note: Applications can use GLib.ExceptionManager.UnhandledException to handle the exception.

System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.NullReferenceException: Object reference not set to an instance of an object
at GLib.Value..ctor (System.Object obj) [0x0001c] in /usr/src/packages/BUILD/gtk-sharp-2.12.9/glib/Value.cs:51
at Gtk.ListStore.SetValue (TreeIter iter, Int32 column, System.Object value) [0x00000] in /usr/src/packages/BUILD/gtk-sharp-2.12.9/gtk/generated/ListStore.custom:99
at Banshee.Library.Gui.ImportDialog.UpdateIcons () [0x00059] in /usr/src/packages/BUILD/banshee-1-1.5.2/src/Core/Banshee.ThickClient/Banshee.Library.Gui/ImportDialog.cs:155 .....

View 1 Replies View Related

OpenSUSE :: Losing All The Window Decorators On Selecting Compiz?

Aug 20, 2010

I recently installed the brand new Open Suse 11.3 on my new Dell Studio. I installed Compiz and other packages from official repo. But after installing when I used the desktop configuration utility to change the default Window Manager to Compiz all the window decorators like window title , minimize maximize, close buttons were gone. I tried searching for emerald fusion theme manager only to find out tht these have been dropped and older repos have been deleted.

I am not liking the default Window manager. I wanted to get themes like before. I have been using Suse for the last 6 years but this is the first time I am not able to get what I want. I just dont like this default manager. I want the look which looks better than Windows 7 ...

Processor: Intel Core i7 1.76GHz Graphics: ATI Mobility Radeon 5470 1 GB (Using the latest driver) I have 3D running Using ATI Driver

View 9 Replies View Related

General :: Windows - Selecting Which IP Address To Use For Outgoing Requests From Behind A NAT

Mar 12, 2010

Our organization has several external IP addresses. I am behind 2 layers of NAT and the servers choose which IP address to route my traffic to. Can I specify which IP address to use when finally leaving the organizations network. I know that source routing can be done in IPv4 by adding some options in the header. But can I configure my PC to add these options automatically. I have both a Windows and a Linux Machine.

View 1 Replies View Related

Ubuntu :: Blinking Cursor After Selecting Generic Header?

Dec 7, 2010

When I select Ubuntu from the booting option. A black screen appears with a cursor at the top left of the screen. It appears for few seconds. How canI remove this to make my booting fast?

View 1 Replies View Related

Ubuntu :: Button For Selecting Workspaces In Unity Desktop?

May 21, 2011

is there something like a button for selecting workspaces in Unity desktop?

View 3 Replies View Related

Debian :: Boot Screen For Selecting Kernel NOT Clear

Sep 20, 2010

Debian 60 (squeeze, testing) 64-bit

The window for selecting kernels at startup is NOT clear.

View 1 Replies View Related

General :: Unable To Use Popup Menu When Selecting Text?

Feb 24, 2011

I've been using Linux for about six years now, and I joined this website hoping to learn more about Linux, keep updated with Linux news, others less experienced than me; I spend so much time on Reddit I rarely remember there's a whole Internet how there and I've yet to really visit this website since I registered. I'm posting this in the newbie section because the problem I'm having feels like it probably has a simple solution, but I don't what to do. If this forum is inappropriate, I suppose a mod could move it?

Anyway, upon highlighting a link in either Firefox 4 nightly or Chromium, I get this pop-up menu: [URL](copy paste and remove the space between the h and the t - and yes, this is a "screenshot" taken with a camera, as this menu seems to inhibit the functioning of the PrintScreen key for some reason) I do not need to click - as soon as a URL is highlighted, the menu pops up, forcing me to click away in order to cancel the menu. At first I assumed it was a Firefox thing - it happens in both 3.6 and 4 Nightly - so I began checking all of my add-ons (only 4) and plugins to see if I have some plugin causing this. Nothing seemed to be.

When I switched to Chromium, I quickly realized the same thing happens in Chromium, as well, so it's independent of what browser I'm using. This leads me to believe it's some package I have installed (apt-get, I'm using Linux Mint on this laptop, and on my other computers, which are running Arch, I do not encounter this in either Chromium or Firefox4) that's causing this, so if someone could just identify what package it is I can remove it. Or maybe my assumption is incorrect and there's something else that leads to this popup, but either way, it's really annoying and I want it gone!

View 2 Replies View Related

Networking :: Selecting / Modifying SNMP Traps On Switches

Dec 20, 2009

I'm curious as to what defines the SNMP trap info sent by switches? I would like to get updates on 802.1x authentication and state of switches (all manufacturers if possible). Is the data sent via traps determined by the manufacturer or is it possible to modify/select it from the switch MIB?

View 3 Replies View Related

Server :: Selecting A Font In An HP Printer From The Command Line?

Feb 16, 2011

Does anyone have an example of selecting a font in an HP printer from the command line?

View 2 Replies View Related

Software :: Selecting 2GB Pendrive As The Target Storing Place?

Mar 30, 2011

I've accidentally deleted some files and now am trying to recover them using Photorec. I've created a separate partition to copy the recovered files to (3GB). When I run Photorec it only stores the first 5 files or so (totalling about 200Kb) and then stops reporting "no free space on the disk, select another destination". I've tried selecting my 2GB pendrive as the target storing place, but got the same error message.

View 1 Replies View Related

Software :: Selecting A Wma File Will Start A New Instance Of VLC With No Sound

Mar 21, 2010

(Using Lenny.) And where is the VLC manual? Help button just has "about". Synaptic must have it under some other name than vlc doc or vlc manual.

Back-ground... just inherited moderate amount audio files, the mp3 files would play and wma files would not play. Installed ffmpeg, not sure if that fixed it.

1. selecting a music file in the directory will start a new instance of VLC, even when there already is one(vlc panel) displaying.

2. Selecting a wma file will start a new instance of VLC with no sound. However, using the VLC file menu and selecting a wma file from a directory will play sound (sounds pretty good too for cheap speakers).

3. Not sure what I did, but now the VLC is playing every tune in the whole directory, { cool, I discovered how to play tunes all day} but closing the VLC pane doesn't turn off the music. Or at least tell me how to turn off the player.

View 4 Replies View Related







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