General :: Obtain System Info Like The CPU Cache Sizes And Core Speeds From The Shell?

Sep 1, 2010

how do you obtain system info like the CPU cache sizes and core speeds from the shell?

View 2 Replies


ADVERTISEMENT

Ubuntu :: How To Obtain Cache Hit Ratio

Dec 7, 2010

how we can obtain cache hit ratio? I have tried using "sar -b" but couldn't find the info there.

View 7 Replies View Related

General :: Will Proc / Cpuinfo Gives CPU Info Per Core Or Per Thread?

Jul 18, 2011

My CPU has 2 cores, so I can see two parts in /proc/cpuinfo.But, I want to know if CPUs that support Hyper-Threading (or similar tech), will /proc/cpuinfo give CPU info per core or per thread (or call it sibling)?I only know that Windows Task Manager will give CPU usage statistics per thread if the CPU supports HT.

View 2 Replies View Related

Hardware :: Security Cameras And Obtain Info Tools?

May 28, 2010

I have been setting up multiple security system in the area and was wondering what was the easiest way is to get the camera information that one would need in setting up survellance systems like zoneminder. I use xawtv for testing and

PHP Code:
zmu -d <device_path> -q -v 

But how can I get specific information about NTSC/PAL cameras or IP cameras. In other words is there a specific tool for that purpose? I can see my video cameras fine using xawtv -c /dev/video but can I look at those log files to see what setting it used for the cameras

View 1 Replies View Related

CentOS 5 Hardware :: Infiniband (mlx4) Works On 16-core System But (now) Fails On 32-core System

Jan 27, 2010

We have a small cluster of 20 HP systems, all running CentOS 5.3 in an NFS-root environment. Half are quad-socket, quad-core Xeon E7340 @ 2.40GHz (total 16 cores), the other half are 8-socket, quad-core Opteron 8354 (total 32 cores). All systems have a Mellanox Infiniband adapter ("Mellanox Technologies MT25418 [ConnectX VPI PCIe 2.0 2.5GT/s - IB DDR / 10GigE] (rev a0)")

With kernel 2.6.18-128.1.6.el5, infiniband works fine on all systems.

With the update to kernel 2.6.18-164.11.1.el5 (and both types of node running the same NFS-root image), the 16-core Xeons still work fine. Infiniband no longer works on the 32-core Opterons. Specifically, either the ib0 interface fails to appear, or it does appear but when configured with an IP address, doesn't actually work. In either case, loading the IB kernel modules takes a long time, but I haven't instrumented the load script yet to see which module, if any, is at fault. More errors listed below.

However, if I tweak the BIOS of the 32-core systems to reduce the per-socket core count to 2 (so effectively 8-socket, dual-core, down to a total of 16 available cores), Infiniband starts working again. Putting it back to 32-cores makes it fail. Booting the older kernel makes it work again. In summary: old kernel, IB works on all systems. Newer kernel, IB only works on 16-core systems.

Updating the IB firmware from 2.5.0 to 2.7.0 (latest available) doesn't help. I also did a full 'yum update' to make sure that libmlx4, openibd all other associated packages were up-to-date. Doesn't help either.

Some errors that appear on 32-core nodes:

ib_query_port failed (-16) for mlx4_0
ib_query_port failed (-16) for mlx4_0
mlx4_core 0000:04:00.0: SW2HW_MPT failed (-16)
mlx4_core 0000:04:00.0: SW2HW_MPT failed (-16)

[Code]....

View 5 Replies View Related

General :: Boot Fedora Core 12 From The Shell?

Dec 13, 2009

Im running fedora core 12 and when i start it goes to the GUI but i would want to start from the shell how do i go about it to redirect it there

View 4 Replies View Related

Server :: Squid Cache System - Make It Cache All Files Like .exe .mp3 .avi

Mar 6, 2011

I installed squid cache on my ubuntu server 10.10 and it is work fine but i want to know how to make it cache all files like .exe .mp3 .avi ....etc. and the other thing i want to know is how to make my client take the files from the cache in the full speed. since am using mikrotik system to use pppoe for clients and i match it with my ubuntu squid

View 1 Replies View Related

General :: Configuration - Obtain Kernel Config From Currently Running System?

May 23, 2011

I accidentally deleted my .config for my kernel configuration on Linux, and seem to remember there was a way to retrieve the kernel configuration via the proc filesystem somehow. Is this still possible, and if so how would I do it?

View 1 Replies View Related

General :: Using Timeout Core Utility In Bash Shell Script?

Oct 12, 2010

I'm using timeout core utility in my bash shell script. The problem I'm facing is I want the PID of the command which is supplied to timeout. Let me explain with the code I'm using:

Code:
#!/bin/bash
timeout 120 ./prog1 &

[code]....

View 5 Replies View Related

Programming :: GDB - Core Dump Analysis And Debug Info?

Oct 21, 2010

I am developing an application whose executable is generated inside a certain folder hierarchy (say: /DevPath/MyProject/bin). My source code is located in a different branch of this hierarchy (say: /DevPath/MyProject/src). When my app crashes, its core files are stored in /DevPath/MyProject. I'm developing the app on a pc, but running it on a separate platform in which i can only execute it. Folder hierarchy is the same as above on both computers. Usually, when a new executable version is ready, we update both the executable and the source code on the target platform, transferring all the new /DevPath/MyProject folder on it. But sometimes it can really be a bother, so we update only the executable.

1)In the case we only update the executable, keeping an old source code version, and the app generates a core file, can i trust the backtrace produced by gdb in this case? I.e., does gdb need the latest source code files or it just needs the debugging information?

2) (More radical question ) Do i really need to keep the source code on the target platform for core dump analysis or i just need the executable?

View 1 Replies View Related

General :: Get Amazon EC2 Instance Operating System Info?

May 31, 2011

I just setup an EC2 instance running Linux. Is there a way to get the version/distribution of Linux that is running on the instance via the terminal?

View 3 Replies View Related

General :: CLI, Displays System Info Distribution Logo?

Mar 7, 2011

I remember screenshots in which a cli window is opened and in it kernel version, processor type, and other information is displayed along witnice little ascii art of the distribution logo. I have seen it for gentoo and debian, but forget the name.

View 6 Replies View Related

General :: Top CPU% Reported Over 100% On Single Core System?

Jul 12, 2010

I am running CPU tests on a radio controller to determine max simultanious calls. A tool using top was developed so that we could get a good look at what exactly was happening on the process level, however we are mainly interested in one object running on the box.The box has a single core Celeron processsor running the Wind River Linux platform. The CPU usage from my object is frequently spiking over 100%. Doing some research online so far has led me to the fact that a multicore processor can do this however I have found no mention of a single core processor displaying this behavior.

View 6 Replies View Related

General :: System Crash Doesn't Save Info To Kern.log

Jul 23, 2010

I am currently creating a usb device driver consisting of mostly read and write commands. It can successfully read/write using the bulk endpoints, however reading from the interrupt endpoint causes a system crash.As the crash happens whilst writing to kern.log, the file doesn't get a chance to close, therefore done of my debug printk calls are saved. Also, I get know response from using the magic sysrq key.

Does anyone have an ideas on how I can get any system information about what's causing the crash, or possible causes of the crash. (Using a usb sniffer running on another pc, I can see that the packet is coming in from the interrupt endpoint).

View 2 Replies View Related

General :: Difference Between Hardware Cache And Slab Cache?

Nov 22, 2010

I am reading slab allocator, it defines slab cache, i am quite confuse is it same as hardware cache?

View 2 Replies View Related

General :: Migrating To 64bit Quad Core System

Mar 11, 2010

In the past, I've deployed new 64 bit systems and I've worked on and developed on 64 bit systems. But until a week ago, my workstation was a 32 bit system. Now, it is a 64 bit quad core Phenom II system, and I suppose I need to start the migration to 64 bit Linux. I do not want to blow off my system and rebuild it. This particular system dates back a decade and through many many updates. There is some digital debris in it, but there is also a fair amount of customization that I have implemented either for my own purposes or for customers, and to lose that customization would represent a headache for me.

What I want to do is install a 64 bit system over top of the 32 bit system. It is my hope that doing this would install the necessary 64 bit libraries, while not impacting the existing 32 bit libraries (except with some possible symlink problems). I then, hopefully, could boot into a 64 bit kernel while still running 32 bit programs. Is this feasible? My backup system is comprehensive; I COULD just try it and back up if my system became hosed. But I'd rather not; I have a lot of work to do and I'd rather not learn by doing in this case.

View 10 Replies View Related

Ubuntu :: How To Obtain System Details

Jan 1, 2011

I am running UBUNTU / Windows Dual Boot on a HP Pavillion computer. My problem is that on the windows side I have lost sound and internet ( Via Ethernet ). Everything works fine in UBUNTU. So I guess I need to reinstall Ethernet and Sound drivers. Problem is how do I establish what drivers I need - Ethernet card , and Sound card.

View 2 Replies View Related

General :: Use The Man / Info / Apropos Pages - Character Instructed The Shell To Interpret A Special Character As An Ordinary Character?

Mar 27, 2010

1.What character instructd the shell to interpret a special character as an ordinary character?

2.What directory contains some of the utilities available on the system in the form of binary files?

3. What command is used to search the location of a utility?

4. What command is used to instruct the editor to write the file and quit the editor?

5. What key quits the more utility and displays the shell prompt?

6. What command starts a child shell as the super user, taking on root's identity and environment?

7. Which wildcard characters can be used for searching all the files in the system that start with "A"?

8. The user name or login name of the super user is????

[Code]....

View 10 Replies View Related

Ubuntu Installation :: Partition Sizes For Dual Boot System

May 29, 2010

I plan on installing Ubuntu 10.04 and it will be my first Ubuntu install. I plan on dual booting with windows 7 and I would like advice on partition sizes. I have a 250 GiB drive and my planned partitions are as follows.

Sda1 (PQSERVICE) 12GiB This was pre-installed should I delete it
Sda 2 (System Reserved) 100MiB This was also pre-installed should I delete it
I know one of the above is the windows recovery partition but I don't know which one
Sda 3 (Gateway) 25 GiB This will contain windows will 25 GiB be enough
Extended partition
Logical 1 10 GiB / the main Ubuntu partition 10 GiB should be enough
Logical 2 1 GiB /home this will just hold settings so 1 GiB will be enough right?
Both above partitions are ext3
Logical 3 3 GiB swap partition I have 1 gig ram upgradeable to two
Logical 4 180 Gib shared NTFS partition

I am new to Ubuntu and would like to know if you think this is proper. I have already defragmented the hard drive and will make the partitions in Gparted on Ubuntu live test from usb drive.

View 4 Replies View Related

Ubuntu :: FLAC To MP3 Transcoding: Shell Script That Keeps ID3 Tag Info?

Mar 27, 2011

My aim is to create a bash shell script that I can use in directories with many subdirectories full of .flac files for mass transcodings that recquire minimal user input.At present I have this file at ~/bin/flac2mp3:

Code:
#!/bin/bash
file="$1"
flac -cd "$file" | lame --preset fast extreme - "${file%.flac}.mp3"
I navigate to the directory in question and run:

[Code]...

View 2 Replies View Related

General :: Only One Core Of Dual Core Processor Are Working

Mar 14, 2011

I recently read in a forum that by default the Linux kernel only activates one of two cores in a dual core processor. Searching online gave one option to find out and that was the mpstat command. I therefore ran the command and got the following output.As the result says, it shows only 1 cpu. I was wondering what I could do to activate both cores in my machine, and whether doing so was going to cause me any problems.

View 14 Replies View Related

Programming :: Obtain The Audio Stream That Hear In Speaker System Or In Earphones?

Sep 26, 2010

Let assume that we have the following situation: we have a sound in the speaker systems or in earphones, maybe we play an audio CD, some mp3's or maybe a movie, etc.

All I know is that the sound goes through sound card to speaker system or in earphones, no matter the source.

How can I obtain the audio stream that I hear in speaker system or in earphones?

I would like to write an application that record and analyze the audio stream that I hear in my speaker system or in earphones. My OS is Ubuntu 10.04.

If you have a recommendation like "try to use ALSA", please provide more details like "in alsa-utils you have a class Class_Name, with the following function Funcation1, etc. Try to use the Function5 as in the following example".

View 1 Replies View Related

General :: Processes And CPU 4-core - Which Core The Program Used?

Mar 26, 2011

I've a program that launches new processes, and wait for them to die before it exits. So, for example, my program is a process, and it launches 3 more processes, and when the 3 child processes end, it will exit.

As you see, at end of the example, the program used a total number of 4 processes.

1 - Now, I'm running this program in a CPU with 4 cores. This means that the program used each core for each process?

2 - How can I know which core the program used?

View 1 Replies View Related

General :: Looking For System Shell Command?

May 31, 2011

I'm looking for a specific command,if it exist... i want to login from my server to another Linux server,but the question is: can i do it in a one line command for ex:
usually you type: ssh "user"@10.1.1.1 and then the password,but I'm looking for a command in one line a fake ex: ssh user@10.1.1.1 -p "password" something like that.
I don't know if anyone of you understand what do i want to say .

View 6 Replies View Related

General :: Get Core Files In System With Out Using "Find" Command?

Jul 30, 2010

I have searched many forums but did not find a way to FIND A CORE FILE WITH OUT USING FIND COMMAND.

View 11 Replies View Related

General :: Shell Command To Let System Box Go Sleep?

Jun 21, 2010

I'm writing a shell script to check the I/O activity of a Linux box and if the server is quiet for a certain long time, the script should let the server go to sleep. But, after some Google searching, I didn't find a answer yet. Is there a shell script command to put a Linux box to sleep?

View 3 Replies View Related

General :: Copy From 1 Computer To Another With System Shell Commands?

Jun 23, 2011

I want to copy a file (home/remote_computer_user/Desktop/test1.txt) from my remote office computer (a permanent URL + open port) to my home computer (home/home_computer_user/Downloads/).

How can I do this with shell commands in Linux?

My current thoughts:

ssh <user>@<computer1address> -p <port> - gives me a shell on the remote computer
(I think I should use scp, but I dont how exactly how in my case)

What are the exact commands I should use?

View 1 Replies View Related

Ubuntu :: How To Get System Info

Jan 6, 2011

how do i get system info on desktop

View 1 Replies View Related

Ubuntu :: How To Clear The System Cache Memory

Feb 15, 2011

Ubuntu 10.10

How do I clear the System cache memory.

For the past few days , I am facing problem in opening websites (firefox & Chrome).

I have to restart the laptop and then access the web sites.

View 3 Replies View Related

General :: How Are The Font Sizes Calculated

Feb 12, 2010

We talk about 12pt, 14pt font sizes. Do those numbers represent physical size in some unit or number of pixels? I guess it is the former, because same font size looks different for different DPI values, but in what unit? Also a relevant question: does browsers like firefox and chromium use different system of font sizes, because to get the same physical size, I alwasy need to set larger values in firefox than in other applications. Setting dpi and resolution values using about:config has no effect.

View 2 Replies View Related







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