Programming :: Use Big O - Big Omega - And Big Theta To Find Running Time Of Algorithms ?

Mar 16, 2011

How to use Big O, Big Omega, and Big Theta to find running time of algorithms because it looks confusing which one of them to use..

View 3 Replies


ADVERTISEMENT

General :: Difference Between Big Theta - Big Omega & Big O

Jan 29, 2011

What is difference between big theta big omega and big oh?

View 1 Replies View Related

Programming :: Create Unique Multithread Algorithms For Every Particular Program?

Aug 6, 2010

Since 2005 when DualCore CPUs came out, you need to create unique multithread algorithms for every particular program? Or you have patterns?

View 4 Replies View Related

General :: Find Out How Much Time An Already Running Process Is Spending In User And Kernel Spac?

Jun 8, 2011

I am currently struggling with one of my tasks.I was asked to find a way how to determine how much time an _already running_ process is spending in user and kernel space.E.G. <some tool> <pid>[Control] + [c]<pid> spent 12.1 seconds in user and 1.52 seconds in kernel space.Does something like this exist? Basically I guess I am looking for something similar to time, except that the process is already running.So..a) Is there a tool which fulfills this task?b) Is there a way to write your own software which does the job? Is it even possible to code something I am looking for?I recently found strace -c -p <pid>, but well, this is not exactly what I was looking for.

View 3 Replies View Related

Programming :: Bash Find Files On Time Help?

Mar 11, 2011

I am trying to find a nightly backup if it was successfully copied over, rename it and curl, but it's always passing the check even if the file is older than specified. From the command line it does as it should. Example is here;

Code:
find /backup -type f -mmin +4440 -exec echo "found" {} ;
- nothing returned (good). Then I change the time

[code].....

View 4 Replies View Related

Programming :: Find Out If X11 Is Running From Within Perl OR Bash Script?

Mar 17, 2010

I am writing a script based image manipulator but i need to know if X is running so i can tell if i use CACAVIEW to imagemagick DISPLAY command.

View 14 Replies View Related

General :: Recovery Algorithms For GPFS(IBM) ?

Mar 21, 2010

some good websites or sources from where I can get recovery algorithms for GPFS(General Paralle File Sytem)..an IBM product?

View 1 Replies View Related

Ubuntu :: Omega Sign Showing Up As W?

Jan 8, 2010

I am a student taking an online course in electronics, on my class web site the Omega sign is showing up as a W instead. I have tried to change the font even tried to import new fonts that might have the sign. I have also tried to change the character encoding nothing has worked and ideas I will try anything. I am running firefox 3.5 and ubuntu 9.10

View 8 Replies View Related

Software :: Get GCC To Install In Fedora12 Omega(Boxer) Remix?

May 26, 2010

I have installed fedora 12 Omega remix. But I can not compile any C program or anything as for giving "cc" in terminal it shows "command not found". I think GCC is not installed in the system. If so the how can I install it? What are the rpm packages I need to install in order to compile C,C++ programs. If any pre-compiled version of gcc is availabe , then from where I can get it?

View 1 Replies View Related

Programming :: Function Handler Is Called One Time Only Instead 2 Times If The 2 Timers Expires At A Time

Mar 2, 2011

I am using Debian linux. I have 100 timers running. If a timer expired which will generate a signal and it was mapped to a same function handler. All the timers are mapped to one function handler. The problem is if the timer expires one at a time, the function handler called at a time. But if the 2 timers expires at a time, the function handler is called one time only instead 2 times. Is it possible to invoke the function handler as many times based on timer expirary happens simultaneoulsy?

View 14 Replies View Related

Programming :: Get The Current Time As Provided From NTP (not The Currently Set Time On The Server)?

Jun 9, 2010

Is there a way to get the current time as provided from NTP (not the currently set time on the server)?

View 4 Replies View Related

Programming :: Set Time Using Settimeofday But It Sets Local Time?

Jan 12, 2010

I am trying to set time using settimeofday in linux. But it sets local time. i.e works like SetLocalTime in windows. But I want to set system time(like SetSystemTime in windows). I could'nt find no other api in linux. What should i do? I had tried with mktime/gmtime apis

View 3 Replies View Related

Programming :: Suid Disabled From Running All Scripts Or Just From Running Them As Root ?

Sep 4, 2009

Is suid disabled from running all home made bash scripts or just from running them as root or:

Who would know for sure.

I googled several combinations of Mandriva Linux how-to suid disabled setUID etc... so far all I found was "many distributions are disabling suid for security reasons" nothing specific.

View 2 Replies View Related

Programming :: Cron And Fsarchiver Reportedly Running Not Actually Running?

Jun 1, 2010

My root Vixie cron crontab is set to perform a system snapshot via fsarchiver: 0 0 * * * fsarchiver savefs -o -A /backups/p30_root.fsa /dev/sda2 /dev/sda3 The command itself works fine, generating about a 7G snapshot of my Suse server. I then wish to rsync this to a NAS I have located in another building: 0 3 * * * rsync -av -e ssh --delete /backups/ root{at address}:/DataVolume/os_backups/

(yes, I'm rsyncing as root. I absolutely loathe it, but I got thrown into an quasi-SA position with a ridiculous to-do list and no time to do it. I'm having to make things just work and then go back and try to improve them/learn how. I couldn't make it work in a non-root way quick enough, so for now I'm having to cron rsync jobs as root because of all the differing file permissions on this samba/MySql server. I set the NAS to only accepts ssh from the server IP, and we're behind a campus firewall... It's serious trial by fire.) The crontab also has rsync commands for the samba areas, our specialized chemistry software and affiliated MySQL databases............

View 2 Replies View Related

Fedora Installation :: Omega "Pug" Respin File System (ext4)?

Jul 24, 2009

I see that F11 respin Omega-Pug live CD is available for download. Before I use up the bandwidth, can someone suggest if the file system default installation is ext 4, as in F11 live cd, or can one now choose ext 3. The reason I am asking is that mine is currently ext3, and I would not like to lose my /home partition, with all the stuff that has accumulated.

View 3 Replies View Related

Ubuntu :: Fan Is Really Noisy All The Time Even When Not Running Any App

Mar 27, 2011

Ok so've installed ubuntu. Looks great, but there's one problem: fan is really noisy, all the time, even when I'm not running any app...

I've changed the power preferences, and activated the option: "Spin down hard disks when possible", but didn't have any effect.

I have a toshipa satellite L-500, and used to use toshiba eco utility for windows but they don't make that for ubuntu.

View 7 Replies View Related

General :: Running Two Files At The Same Time?

Feb 20, 2010

i have two bash script files namely, "a.sh" and "b.sh". Both the files contain some commands to run, how can i actually run both files at the same time, instead of running the file one by one?

View 2 Replies View Related

Debian :: System Becomes Read-only After Some Time Running

Dec 2, 2010

It's the second time I've noticed this

~# /etc/init.d/sabnzbdplus restart
mktemp: failed to create file via template `/tmp/sabnzbdplus.XXXXXXXXXX': Read-only file system
/etc/init.d/sabnzbdplus: line 94: $TMPFILE: ambiguous redirect
Stopping SABnzbd+ binary newsgrabber:No process in pidfile '--retry' found running; none killed.
failed!

View 14 Replies View Related

General :: Don't Need The Apache Service Running All The Time?

Oct 27, 2010

I have recently ported from Windows to Linux (xubuntu) I am a developer, i installed everything i need, LAMP. Now in Windows i used to turn off all unnecessary Services, i don't need the Apache or MySQL service running all the time. I used: net start mysql

Whenever i needed it. How do i do the same in Linux:
1. Disabling not-needed daemons from auto-starting?
2. Starting them only when i need them?

View 2 Replies View Related

Ubuntu Servers :: Set Up A FTP Server For Some Quite Some Time And Keep Running?

Oct 26, 2010

I've been trying to set up a FTP server for some quite some time and i keep running into problems. I'm trying to set it up via gadmin- proftpd but even with that i cant get it to run. Can anyone point me towards a good how-to or just help me out? I'm kinda new to Linux and this is my first go at servers so i really have no clue here.

View 9 Replies View Related

Ubuntu :: Running Real Time Kernel With Lucid?

Sep 25, 2010

I have the latest release of Lucid Lynx installed. I want to try out audio recording on Linux so I want to know if it's possible to use a real time kernel with Lucid. So I installed the 2.6.31 real time kernel. It shows up in GRUB, but when I boot it gives me the message:

mounting none on /dev failed No such device

It then takes me to the login screen, and once I enter my password it just takes me back to the login.

View 1 Replies View Related

Server :: Running Multiple Cron Jobs At Same Time

Jul 1, 2010

I want to create 2 cron jobs daily

1st cron: Every day by 13(1pm) I want to stop the httpd service
2nd cron: Every day by 13:30(1.30pm) I want to start the httpd service

I tried but only 1 cron job can able to run at a time.

View 7 Replies View Related

General :: Find Real Time Log Name?

Jan 17, 2011

I have to write one Shell script where i have to find one word in current generated log.Log name has specific format like 'NAME_DDMMYY_HHMMSS'.log.Each time i have to go and check the word in newly generated log.How can i pass the newly generated log name in my Script?

View 2 Replies View Related

General :: Make Second Program Running With CPU Time Limit 2 Seconds?

May 16, 2011

Linux bash inline command to execute a program and limit the resource.As I know, to limit the resource I can use ulimit command.But, the problem is when I set the CPU time limit 1 second, and then I want to execute another program with CPU limit 2s, the ulimit command return an error like this: bash: ulimit: CPU time: cannot modify limit: Operation not permitted and absolutely my program killed in 1 second.So, How can I make the second program running with the CPU time limit 2 seconds?

View 3 Replies View Related

Ubuntu Networking :: Running Remote Programs For A Long Time?

Mar 14, 2010

I suspect this has been posted before, but I'm new enough to the OS to lack the proper vocab for a proper search.

In any case, I'm basically trying to run programs remotely at work (from home) that will run for a long time. I first ssh into the appropriate network, then ssh into the individual machine. This works great and I can run programs no problem. The issue is that these programs can run for days or weeks, and the network kicks me out after some period of time due to inactivity.

Is there a way to start a program on a remote machine then terminate the connection but have it keep running?

View 6 Replies View Related

Ubuntu Installation :: Running A Patch Every Time A Kernel Upgrades?

Jul 13, 2011

This morning I ran the automatic upgrade provided on the repositories, updating my kernel from 2.6.38-8 to 2.6.38-10.Unfortunately, upon reboot I discovered that a series of patches I'd applied in order to get my wireless card on my desktop working had been undone (see I had to run a modified version of the instruction set in order to get my wireless back on.My question: is there a way to trigger this every time the kernel upgrades? I'd hate to have to run this cumbersome set of commands manually every time.

View 2 Replies View Related

Networking :: Ethernet Interface Leaves RUNNING State After Some Time

Jul 29, 2011

I am using RHEL6 on a server with 3 interfaces.

eth0 is connecting via a Cisco switch to the outer world and eth1 and eth2 to internal networks.

eth1 and eth2 are working without problems all the time, however I have the following incident with eth0: although it is RUNNING, and after it works for some time (like some hours), it then becomes incapable of sending/receiving traffic. Here are more details, after the interface exits the RUNNING state:

[root@mgt ~]# ifconfig eth0
eth0 Link encap:Ethernet HWaddr E4:1F:13:6C:87:74
inet addr:9.162.91.26 Bcast:9.162.91.255 Mask:255.255.255.0
inet6 addr: fe80::e61f:13ff:fe6c:8774/64 Scope:Link
UP BROADCAST MULTICAST MTU:1500 Metric:1

[Code]....

I am wondering whether there this is because there is not traffic for some time and so the interface goes to idle. Is there any parameter I can tweak in RHEL6 to force the interface to remain RUNNING even in the absence of traffic (although I would be expecting that some 802.1 packets would be periodically flowing from the switch to the interface)?

View 1 Replies View Related

General :: Measuring Time That A Program Is Running In Shell Script

Nov 11, 2010

I have a script that executed 100000 C Programs, reads the commands from a file and executes them. There is a requirement to measuer the time that each of this 100K C programs running.If it exceeds 120 sec I want to Kill that Process.Any Idea to embed this in my shell script?

View 4 Replies View Related

Server :: Apache Simultaneous Requests Time Out While PHP Script Is Running?

Apr 1, 2011

On my server I provide OCR file conversion service but the problem is when a user uploads a file and it's being converted then if you open another tab and try to load the site it won't respond until that conversion is completed. In other words until the PHP script finishes execution apace doesn't serve any other request to the same browser.

Here is my apache configuration:

Code:

ServerTokens OS
ServerRoot "/etc/httpd"
PidFile run/httpd.pid

[code]....

You can check what I mean if you try to upload and convert a file and while the file is converting try opening the site in another tab.

View 2 Replies View Related

Ubuntu :: Cannot Find Option To Set Hibernation Time

Feb 21, 2010

This may be a noob question, but I can't find the option to set the computer to hibernate after a given idle time. In the Power options there is an option to suspend, but not to hibernate.

Is there other way to set the hibernation time?

View 1 Replies View Related







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