07-27-2016
That's high-quality noise too, straight from quantum breakdown fluctuations.
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Is anyone know some scripts to generate random number without repetition using bash; for example generate 10 different random numbers.
Thanks (8 Replies)
Discussion started by: asal_email
8 Replies
2. Programming
Hi,
I am currently trying to generate multiple random numbers in C for different variable:-
die1=1+(rand()%5);
die2=1+(rand()%5);
die3=1+(rand()%5);
die4=1+(rand()%5);
But I need to contrain the total of die1, die2,die3 and die4 to be 5 as well. If i insert die1+die2+die3+die4=5, i do... (6 Replies)
Discussion started by: ahjiefreak
6 Replies
3. Shell Programming and Scripting
Hello All,
I want to make a simple script which generate random number from 0 to 1000.
and simply display it.
Plz HELP!!!!!!
Regards,
Waqas Ahmed (2 Replies)
Discussion started by: wakhan
2 Replies
4. Shell Programming and Scripting
Hi Guys I have a script to find Ranomd numbers. But I want to make the file to produce more random. Could u guys help me plz.
In this Script I have the code that generates random in for loop and the range I have specified in my %chromlength
input and out put will be like this
chrno start end... (3 Replies)
Discussion started by: repinementer
3 Replies
5. Shell Programming and Scripting
Hi,
I am having trouble with generating random numbers. can this be done with awk?
So I have a file that looks like this:
23 30
24 40
26 34
So column1 is start and column2 is end. I want to generate 3 random #'s between start and stop:
So the output will look like this:
... (9 Replies)
Discussion started by: phil_heath
9 Replies
6. Programming
Hi
I'm trying to generate random numbers both in parent process and the child process. But I get the same random number in both processes. Why doesn't it generate different numbers altough I seed random number generator?
Here's my code:
#include <stdio.h>
#include <unistd.h>
#include... (2 Replies)
Discussion started by: xyzt
2 Replies
7. Shell Programming and Scripting
Hi people :)
I'm learning shell scripting using bash and I want to generate 4 floating point number with 5 decimal places and write them to a file and a variable. I've done all this except the $RAMDOM enviroment variable does not generate a float number but a integrer.
I hope you could... (3 Replies)
Discussion started by: pharaoh
3 Replies
8. Programming
Hi,
I have a parametrized memory mem.
I want to fill this memory with random numbers with respect to the data_width.
can anyone help me on this.. (3 Replies)
Discussion started by: vdhingra123
3 Replies
9. Homework & Coursework Questions
Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!
Write a shell script that will take the sum of two random number?
Ex: Random n1 +Random n2 = result
i tries to write it but i had some dufficulties
... (3 Replies)
Discussion started by: renegade755
3 Replies
IWSPY(8) Linux Programmer's Manual IWSPY(8)
NAME
iwspy - Get wireless statistics from specific nodes
SYNOPSIS
iwspy [interface]
iwspy interface [+] DNSNAME | IPADDR | HWADDR [...]
iwspy interface off
iwspy interface setthr low high
iwspy interface getthr
DESCRIPTION
Iwspy is used to set a list of addresses to monitor in a wireless network interface and to read back quality of link information for each
of those. This information is the same as the one available in /proc/net/wireless : quality of the link, signal strength and noise level.
This information is updated each time a new packet is received, so each address of the list adds some overhead in the driver.
Note that this functionality works only for nodes part of the current wireless cell, you can not monitor Access Points you are not associ-
ated with (you can use Scanning for that) and nodes in other cells. In Managed mode, in most case packets are relayed by the Access Point,
in this case you will get the signal strength of the Access Point. For those reasons this functionality is mostly useful in Ad-Hoc and Mas-
ter mode.
PARAMETERS
You may set any number of addresses up to 8.
DNSNAME | IPADDR
Set an IP address, or in some cases a DNS name (using the name resolver). As the hardware works with hardware addresses, iwspy will
translate this IP address through ARP. In some case, this address might not be in the ARP cache and iwspy will fail. In those case,
ping(8) this name/address and retry.
HWADDR Set a hardware (MAC) address (this address is not translated & checked like the IP one). The address must contain a colon (:) to be
recognised as a hardware address.
+ Add the new set of addresses at the end of the current list instead of replacing it. The address list is unique for each device, so
each user should use this option to avoid conflicts.
off Remove the current list of addresses and disable the spy functionality
setthr Set the low and high signal strength threshold for the iwspy event (for drivers that support it).
Every time the signal strength for any of the address monitored with iwspy goes lower than the low threshold or goes higher than the
high threshold, a Wireless Event will be generated.
This can be used to monitor link outages without having to run iwspy periodically.
getthr Retrieve the current low and high signal strength threshold for the iwspy event.
FILES
/proc/net/wireless
SEE ALSO
iwconfig(8), iwlist(8), iwevent(8), iwpriv(8), wireless(7).
net-tools 31 October 1996 IWSPY(8)