1. The problem statement, all variables and given/known data:
Develop a shell script that accepts a phrase and counts the number of times that it is repeated in a specific website.
Note: Im not sure if it's the whole website, or just a specific page but im guessing its thewhole website.
... (2 Replies)
Hello, on my hostserver i see one VPS of mine got load of 200.00 and netstat nothing (not a single blank line on netstat command) after some time, netstat started showing connections, but i see no excessive IP connections.
tail -f /var/log/httpd/access_log shows no activity
/var/log/messages ;... (1 Reply)
Hi,
I am using the below command to get the output in a file called "Logs.txt"
tail -f filename | egrep -i "cpu | hung " >> Logs.txt The problem is the Logs.txt file gets updated only after the buffer is 8Kb, but i want to update the file immediately and not wait for the buffer to get 8kb.
Is... (8 Replies)
Hello,
i'm trying to implement the times() function and i'm programming in C.
I'm using the "struct tms" structure which consists of the fields:
The tms_utime structure member is the CPU time charged for the execution of user instructions of the calling process.
The tms_stime structure... (1 Reply)
If i have a macro called NUM which is "8" (string) for example
How do I make it into say "7", well i just want to lower it by one, also there will never be the case where its "0" and i have to decrease it.
there is no guarantee how many digits NUM could have, but will always be an integer.
How... (6 Replies)
hi all
need your help.
I am wrting a script that will load data into the table.
then on another load will append the data into the existing table.
Regards
Ankit (1 Reply)
WIRELESS(7) Linux Programmer's Manual WIRELESS(7)NAME
wireless - Wireless Tools and Wireless Extensions
SYNOPSIS
iwconfig
iwpriv -a
DESCRIPTION
The Wireless Extensions is an API allowing you manipulate Wireless LAN networking interfaces. It is composed of a variety of tools and
configuration files. It is documented in more detail in the Linux Wireless LAN Howto.
The Wireless Tools are used to change the configuration of wireless LAN networking interfaces on the fly, to get their current configura-
tion, to get statistics and diagnose them. They are described in their own man page, see below for references.
Wireless configuration is specific to each Linux distribution. This man page will contain in the future the configuration procedure for a
few common distributions. For the time being, check the file DISTRIBUTIONS.txt included with the Wireless Tools package.
DEBIAN 3.0
In Debian 3.0 (and later) you can configure wireless LAN networking devices using the network configuration tool ifupdown(8).
File : /etc/network/interfaces
Form : wireless-<function> <value>
wireless-essid Home
wireless-mode Ad-Hoc
See also :
/etc/network/if-pre-up.d/wireless-tools
/usr/share/doc/wireless-tools/README.Debian
SuSE 8.0
SuSE 8.0 (and later) has integrated wireless configuration in their network scripts.
Tool : Yast2
File : /etc/sysconfig/network/wireless
/etc/sysconfig/network/ifcfg-*
Form : WIRELESS_<function>=<value>
WIRELESS_ESSID="Home"
WIRELESS_MODE=Ad-Hoc
See also :
man ifup
info scpm
ORIGINAL PCMCIA SCRIPTS
If you are using the original configuration scripts from the Pcmcia package, you can use this method.
File : /etc/pcmcia/wireless.opts
Form : *,*,*,*)
ESSID="Home"
MODE="Ad-Hoc"
;;
See also :
/etc/pcmcia/wireless
File PCMCIA.txt part of Wireless Tools package
AUTHOR
Jean Tourrilhes - jt@hpl.hp.com
http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/
SEE ALSO iwconfig(8), iwlist(8), iwspy(8), iwpriv(8), iwevent(8).
wireless-tools 4 March 2004 WIRELESS(7)