9 More Discussions You Might Find Interesting
1. HP-UX
Hi
We have an old GIS system running on unix 10.20. Our IT department have kinda washed their hands of it I'm having a problem where the system seems to but full. It had been working find for the last few years but now the drive seems to be full. It is only used for viewing old information so... (23 Replies)
Discussion started by: TangoOne
23 Replies
2. Red Hat
Hey all,
What do you think mostly happened in the following situation?
I have a Red Hat 5.5 server. Someone, somehow, managed to get two .nfs000.... type files that totaled over a terabyte in size. I removed them and thought things were back to normal. Then I started getting complains from... (2 Replies)
Discussion started by: geelsu
2 Replies
3. UNIX for Advanced & Expert Users
Hi,
In order to have a sand box machine that I could use to test some system changes before going to production state, I'd like to duplicate a working system to a virtual one. Ideally, I'd like to manage to do it this way :
- Make a full system backup excluding the user file system (this... (7 Replies)
Discussion started by: pagaille
7 Replies
4. Solaris
hello
Even though I am not out of inodes or of space, the /var/adm/messages shows messages:
file system full
I am doing now fcsk -m (400G) and I am still waiting to see the fragmentation results (should I add another option to df to have a faster output?)
Do you have any other hints... (6 Replies)
Discussion started by: melanie_pfefer
6 Replies
5. Solaris
I have unix server with OS 5.8 ,,,
I tried ufsdump 0ua -f /dev/rmt/0 / to perform full system backup on tape but I failed could any one give a procedure for full system backup on solaris machine using tapes??? (1 Reply)
Discussion started by: mm00123
1 Replies
6. Solaris
I am receving following Error message in /var/adm/messages
"NOTICE: alloc: /: file system full"
Disk space usage is as beklow:
df -k
$ Filesystem kbytes used avail capacity Mounted on
/dev/md/dsk/d10 76678257 56962561 18948914 76% /
/proc ... (8 Replies)
Discussion started by: Asteroid
8 Replies
7. Solaris
I read the sticky and thought of a script I use on a regular basis. Since unless you patch/upgrade the df command on solaris you have a very tought time teling how full the system truly is.
Output looks like
$ biggest.sh /tmp
Filesystem kbytes used avail capacity Mounted... (0 Replies)
Discussion started by: meyerder
0 Replies
8. Solaris
Hi, I just started working with UNIX on an old semi-fossilized Sun workstation which I use to process LOTS of images,however, I just started to get an error message that the file system is full and then my shell tool or/and text editor freeze up. Help? (8 Replies)
Discussion started by: Bend
8 Replies
9. UNIX Desktop Questions & Answers
When I try to log in as root I get the following message
realloccg /: file system full sendmail :NO Queue:low on space (have 0,SMTP-DAEMON needs 101 in /var/spool/mqueue) What should I do? (1 Reply)
Discussion started by: hopeless
1 Replies
simulation::random(n) Tcl Simulation Tools simulation::random(n)
__________________________________________________________________________________________________________________________________________________
NAME
simulation::random - Pseudo-random number generators
SYNOPSIS
package require Tcl ?8.4?
package require simulation::random 0.1
::simulation::random::prng_Bernoulli p
::simulation::random::prng_Discrete n
::simulation::random::prng_Poisson lambda
::simulation::random::prng_Uniform min max
::simulation::random::prng_Exponential min mean
::simulation::random::prng_Normal mean stdev
::simulation::random::prng_Pareto min steep
::simulation::random::prng_Gumbel min f
::simulation::random::prng_chiSquared df
::simulation::random::prng_Disk rad
::simulation::random::prng_Sphere rad
::simulation::random::prng_Ball rad
::simulation::random::prng_Rectangle length width
::simulation::random::prng_Block length width depth
_________________________________________________________________
DESCRIPTION
This package consists of commands to generate pseudo-random number generators. These new commands deliver
o numbers that are distributed normally, uniformly, according to a Pareto or Gumbel distribution and so on
o coordinates of points uniformly spread inside a sphere or a rectangle
For example:
set p [::simulation::random::prng_Normal -1.0 10.0]
produces a new command (whose name is stored in the variable "p") that generates normally distributed numbers with a mean of -1.0 and a
standard deviation of 10.0.
PROCEDURES
The package defines the following public procedures for discrete distributions:
::simulation::random::prng_Bernoulli p
Create a command (PRNG) that generates numbers with a Bernoulli distribution: the value is either 1 or 0, with a chance p to be 1
float p
Chance the outcome is 1
::simulation::random::prng_Discrete n
Create a command (PRNG) that generates numbers 0 to n-1 with equal probability.
int n Number of different values (ranging from 0 to n-1)
::simulation::random::prng_Poisson lambda
Create a command (PRNG) that generates numbers according to the Poisson distribution.
float lambda
Mean number per time interval
The package defines the following public procedures for continuous distributions:
::simulation::random::prng_Uniform min max
Create a command (PRNG) that generates uniformly distributed numbers between "min" and "max".
float min
Minimum number that will be generated
float max
Maximum number that will be generated
::simulation::random::prng_Exponential min mean
Create a command (PRNG) that generates exponentially distributed numbers with a given minimum value and a given mean value.
float min
Minimum number that will be generated
float mean
Mean value for the numbers
::simulation::random::prng_Normal mean stdev
Create a command (PRNG) that generates normally distributed numbers with a given mean value and a given standard deviation.
float mean
Mean value for the numbers
float stdev
Standard deviation
::simulation::random::prng_Pareto min steep
Create a command (PRNG) that generates numbers distributed according to Pareto with a given minimum value and a given distribution
steepness.
float min
Minimum number that will be generated
float steep
Steepness of the distribution
::simulation::random::prng_Gumbel min f
Create a command (PRNG) that generates numbers distributed according to Gumbel with a given minimum value and a given scale factor.
The probability density function is:
P(v) = exp( -exp(f*(v-min)))
float min
Minimum number that will be generated
float f
Scale factor for the values
::simulation::random::prng_chiSquared df
Create a command (PRNG) that generates numbers distributed according to the chi-squared distribution with df degrees of freedom. The
mean is 0 and the standard deviation is 1.
float df
Degrees of freedom
The package defines the following public procedures for random point sets:
::simulation::random::prng_Disk rad
Create a command (PRNG) that generates (x,y)-coordinates for points uniformly spread over a disk of given radius.
float rad
Radius of the disk
::simulation::random::prng_Sphere rad
Create a command (PRNG) that generates (x,y,z)-coordinates for points uniformly spread over the surface of a sphere of given radius.
float rad
Radius of the disk
::simulation::random::prng_Ball rad
Create a command (PRNG) that generates (x,y,z)-coordinates for points uniformly spread within a ball of given radius.
float rad
Radius of the ball
::simulation::random::prng_Rectangle length width
Create a command (PRNG) that generates (x,y)-coordinates for points uniformly spread over a rectangle.
float length
Length of the rectangle (x-direction)
float width
Width of the rectangle (y-direction)
::simulation::random::prng_Block length width depth
Create a command (PRNG) that generates (x,y)-coordinates for points uniformly spread over a block
float length
Length of the block (x-direction)
float width
Width of the block (y-direction)
float depth
Depth of the block (z-direction)
KEYWORDS
math, random numbers, simulation, statistical distribution
COPYRIGHT
Copyright (c) 2004 Arjen Markus <arjenmarkus@users.sourceforge.net>
simulation 0.1 simulation::random(n)