LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Blogs
User Name
Password

Notices


Old

Shell script for reading a particular process contineously from process table

Posted 05-29-2009 at 01:44 AM by vinaykori

Hi All,
Can any one help me out in writing a script for the below requirement.

Shell script for reading a particular process contineously from process table and redirect to a file with process details.


Requirement:
There will be a number of processes is running with the same process name having diffrenet Process ID. You wan't whenever a new process get invokes with the same process name then those process details needs to be redirect to File where...
LQ Newbie
Posted in Uncategorized
Views 1176 Comments 0 vinaykori is offline
Old

Discover library dependencies on Slackware

Posted 05-28-2009 at 02:34 AM by gabim
Tags slackware

I created a script to discover the library dependencies on my system:
Code:
#!/bin/bash

ECHO=/usr/bin/echo
SED=/usr/bin/sed
FILE=/usr/bin/file
CUT=/usr/bin/cut
LDD=/usr/bin/ldd
GREP=/usr/bin/grep
AWK=/usr/bin/awk

for p in `$ECHO $PATH | $SED 's/:/ /g'`
do
    for f in $p/*
    do
        if [ 'ELF' == `$FILE -b $f | $CUT -d' ' -f1` ]; then
            if $LDD $f | $GREP -q 'not found'; then
...
LQ Newbie
Posted in Uncategorized
Views 3569 Comments 7 gabim is offline
Old

"convert source code into bin file"

Posted 05-27-2009 at 10:39 PM by kandhakumar

Quote:
Originally Posted by jdkaye View Post
You convert source code into a binary file by using a compiler. The compiler that you use depends on what language (C, Fortran, Pascal, etc.) the source code is written in. There is no such thing as "linux source code". To convert source code written in C, you need a C compiler to take one example.

To find out what a cray-pointer is in Fortran compilers I suggest you consult the Fortran documentation.

Have fun,
jdk

hi thanks to...
LQ Newbie
Posted in Uncategorized
Views 924 Comments 0 kandhakumar is offline
Old

Highlight Domain & Subdomain for SSL websites in Firefox

Posted 05-27-2009 at 05:22 PM by rbkumaran

When you visit a Secure website in Firefox chances are that the FavIcon for the website is replaced with a Green bar with the details of the company. This is because of the default properties in Firefox to display detailed information of the website from the Extended Validation Certificate on the website. However, if the website doesn’t host a Extended Validation certificate then the website URL (link) in the address bar is not highlighted or in otherwords shows as a normal website URL.Read more
LQ Newbie
Views 2087 Comments 0 rbkumaran is offline
Old

Is there a pattern?

Posted 05-27-2009 at 05:11 PM by AGer (Void cries or bashing time)

I have just looked through another Windows vs. Linux discussion and got the same strange feeling that something is wrong with it. Next I thought I have got the pattern.

Long ago one of such discussions contained a parable like this: "Linux is like a car you can examine under the hood and tweak, Microsoft is like a car with the hood you cannot open". Each and every Microsoft vs. Linux discussion seams to be based on that. This parable is wrong.

In fact Linux...
Member
Posted in Uncategorized
Views 922 Comments 0 AGer is offline

  



All times are GMT -5. The time now is 11:16 PM.

Main Menu
Advertisement
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration