04-16-2014
Question on Linux Binary
Hi All,
On linux system copied a /bin/kill to /bin/killlatest, when i tried to kill a command using /bin/killlatest it is failing with below errors
/bin/killlatest 12345
ERROR: no "killlatest" support.
Please help on this.. My ideas is to write a wrapper over killl command to find out who invokes the command from which machine and port.
Last edited by Scrutinizer; 04-16-2014 at 12:41 PM..
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I'm running Vector Linux on this computer, and everythign works fine, except for the NIC. I run netconfig, and then when I reboot it says:
DC21140 at 0x9400(PCI BUS 0, device 11) h/w address 00:00:C0:2E:13:dC, and reqquires IRQ 9(provided by PCI BIOS)
Setting up net subsytems.
... (5 Replies)
Discussion started by: Corey
5 Replies
2. UNIX for Dummies Questions & Answers
Hi,
I downloaded the DSL Linux, I am able to boot and work on it. But I want to install this on my old laptop. How do I do that? Please advise.
Thanks. (1 Reply)
Discussion started by: samnyc
1 Replies
3. UNIX for Advanced & Expert Users
Hi,
I want to have one binary image that contains both my boot loader as well as the OS(linux) image at pre defined offsets which i can use to program flash . Can anyone help in this direction?
Regards
Subrata (0 Replies)
Discussion started by: subratasaharia
0 Replies
4. Linux
Can someone try to compile this older version of xtide (attached) on 64-bit Intel/Linux and upload the xttpd binary? I have a friend who needs an older version up and running because the newer version does not support his required harmonic files.
Thanks! (7 Replies)
Discussion started by: Neo
7 Replies
5. UNIX for Dummies Questions & Answers
Hi
I accidentally installed another operating system after I had installed Linux and now I can no longer access your Linux system.any solution?
Thanks (1 Reply)
Discussion started by: adam25bc
1 Replies
6. Shell Programming and Scripting
Hi All,
Here is the problem: I have done a c++ code in Visual Studio 2010, it's a simple project that only have one main function which takes 2 parameters: an integer and a file that stores data. Now, I am asked to write a shell script in linux to execute my main function. I asked my professor... (1 Reply)
Discussion started by: EasonRU
1 Replies
7. Shell Programming and Scripting
Hello *nix specialists,
Im working for a non profit organisation in Germany to transport DSL over WLAN to people in areas without no DSL. We are using Linksys WRT 54 router with DD-WRT firmware There are at the moment over 180 router running but we have to change some settings next time. So my... (7 Replies)
Discussion started by: digidax
7 Replies
8. UNIX for Advanced & Expert Users
OS: Oracle Enterprise Linux 6.2
Hypervisor: VMWare workstation 9
I created a VM and attached a 7gb virtual disk to it.
Using fdisk , I partioned the disk like below. The filesystems mounted on this is working fine. But I am seeing the message
Partition n does not end on cylinder boundary.... (2 Replies)
Discussion started by: kraljic
2 Replies
9. Shell Programming and Scripting
Does anyone know how to convert an expect script to binary in linux?. (3 Replies)
Discussion started by: John Wilson
3 Replies
10. Shell Programming and Scripting
dHi,
I have the attached file(actual file can be extracted post unzipping it) & i am trying to use the following code for coversion to hex format.
Starting hex value is 84 which is start of the record & termination is done using 00 00 followed by 84(hex) which i can see in the dump clearly using... (14 Replies)
Discussion started by: siramitsharma
14 Replies
LEARN ABOUT NETBSD
fincore
FINCORE(1) BSD General Commands Manual FINCORE(1)
NAME
fincore -- query in-core status of file pages
SYNOPSIS
fincore [-qs] file ...
DESCRIPTION
The fincore utility queries and displays in-core status of specified files.
Note that the result can already be stale when being output due to other activities in the system. Thus it should be used only for advisory
purposes.
The fincore utility accepts the following options.
-q The quiet mode. Outputs nothing unless the file has in-core pages.
-s The summary mode. Only shows number of pages.
EXAMPLES
The following example shows that /bin/cat and /bin/cp are fully cached in-core while the other executables are not in-core. numbers shown in
the default output are page indexes in the file of each in-core pages.
% fincore /bin/c*
/bin/cat: 0 1 2 3
/bin/chio:
/bin/chmod:
/bin/cp: 0 1 2 3 4 5
/bin/cpio:
/bin/csh:
% fincore -s /bin/c*
/bin/cat: 4 / 4 in-core pages (100.00%)
/bin/chio: 0 / 5 in-core pages (0.00%)
/bin/chmod: 0 / 3 in-core pages (0.00%)
/bin/cp: 6 / 6 in-core pages (100.00%)
/bin/cpio: 0 / 36 in-core pages (0.00%)
/bin/csh: 0 / 41 in-core pages (0.00%)
SEE ALSO
mincore(2)
AUTHORS
The fincore utility is written by YAMAMOTO Takashi.
CAVEATS
The concept of page cache is an implementation detail of the kernel. The fincore utility works using some assumptions on the current imple-
mentation. Thus it might stop working in a future version of NetBSD.
BUGS
The amount of CPU time the current implementation of fincore utility would take is roughly proportional to the file sizes. Ideally it should
be proportional to the number of in-core pages.
BSD
January 5, 2012 BSD