10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
First, please forgive me for my 2nd attempt to post in a Forum!
And btw, the Code Tags tutorial has the fonts and the sizes,
but when I am editing my post none of those fonts and sizes
are not there!
SCO OpenServer(TM) Release 5 (worf.xxx.com)
Worf is our proxy & POP Server, and it... (7 Replies)
Discussion started by: Nancy L
7 Replies
2. Post Here to Contact Site Administrators and Moderators
SCO OpenServer(TM) Release 5 (worf.xxx.com)
Worf is my proxy Server, and it runs my Lan with windows PCs, wk2s & XPs. There are only two users who POP the mailbox from the Server to client, elena and me nancy! elena can POP her email mailbox is just fine.
We use Eudora and for years we... (1 Reply)
Discussion started by: Nancy L
1 Replies
3. Emergency UNIX and Linux Support
Need help/advice urgently.:wall:
I really shot myself in the foot this time. Here is the scenario
Have a Solaris server Solaris 10 x86 Update 8.
Installed an LSI MegaRaid 9280 raid controller and attached a 16 bay JBOD box to it, created a RAID6 virtual drive with 1 hot spare.
Created a... (2 Replies)
Discussion started by: ccj4467
2 Replies
4. Solaris
I have created 1 LUN.
1)LUN 00BB 200GB /dev/rdsk/c1t3d44
/dev/rdsk/c2t28d44
/dev/rdsk/c3t19d44
/dev/rdsk/c4t12d44
2) Already added the new entry into sd.conf and rebooted.
3) Already done these:
powercf –q
power config
4) power display dev=all
I can see the new Symmetrix device.... (1 Reply)
Discussion started by: sirius20d
1 Replies
5. Solaris
Hi,
I have configured our SAN Storage to be connected to our new SUN T5220.
On the SAn it looks all fine
on the server I do not see any connection:
cfgadm -al
Ap_Id Type Receptacle Occupant Condition
c1 scsi-bus connected ... (4 Replies)
Discussion started by: manni2
4 Replies
6. Solaris
Hi,
I have a Sun X4200, when I try to reboot the machine it's not detecting the drive and it shows the following error when I try to rebuilt it. I am not sure whether its a bad HD or something else.
Label says 983040 blocks: Drive says 983039 blocks
WARNING:... (1 Reply)
Discussion started by: gunnervarma
1 Replies
7. Solaris
Hi All,
Any idea why i'm having this warning during boot:
WARNING: /pci@1f,0/pci@1,1/ide@3/dad@1,0 (dad1):
corrupt label - wrong magic number
This happens after I added another ide HD and reinstall it from solaris 10 to solaris 8.
Thanks in advance. (7 Replies)
Discussion started by: itik
7 Replies
8. UNIX for Advanced & Expert Users
I have a solaris 5.8 system, it wont boot because /usr is corrupt, which means i cannot bring up fsck to run a disk check. Any ideas? (3 Replies)
Discussion started by: frankkahle
3 Replies
9. Solaris
Hi. Can anyone offer any help on a corrupt agen.exe.
When I try to run agen.exe from shell I get the message "unrecoverable error occurred"
I am using a Sun Solaris machine with Solaris 3.6.
Where does the agen.exe reside ?
If I copy it from another working machine will it work ??? (2 Replies)
Discussion started by: enzoli
2 Replies
10. UNIX for Dummies Questions & Answers
I have a RAID 5 set that is 100GB. i recently added more disks to the RAID so its now 225GB.
In order for Solaris to recognize the new disk size i was told to lable the disk again.
the disk is under Veritas Vol Mgr and File Sys control
will i lose data if i do this? (3 Replies)
Discussion started by: justalogin01
3 Replies
ROLLDICE(6) Games Manual ROLLDICE(6)
NAME
rolldice - rolls virtual dice
SYNOPSIS
rolldice [ options ] dice_string dice_string ...
DESCRIPTION
rolldice rolls virtual dice. The dice strings passed on the command line contain information on the dice to roll in a format comparable to
the format used in fantasy role playing games.
OPTIONS
-h,--help
returns the usage of diceroll
-v,--version
returns the version of diceroll
-r,--random
uses /dev/random for random number generating
-u,--urandom
uses /dev/urandom for random number generating (default)
-s,--separate
prints out the result of each individual die separately, as well as the operations and totals
DICE STRING FORMAT
The dice string uses the following format:
{#x}{#}d[#|%]{*#}{+/-#}{s#}
The dice string doesn't have to be in the format that I outlined above, but this is the nicest order for me. It will try to parse any dif-
ferent string containing the same sections in the best way it can, and will throw out anything that isn't one of the sections below.
{#}d[#|%]
This is the only required part of the string, and now really isn't even required, as it defaults to 1d6 if not found. The
first number is the number of dice to roll, and the second number is the number of sides the dice have. The numbers rolled
on each die are then added up and given as the result. Hence 3d6 means "roll three six-sided dice, add them together and
return the result". If the first number is left out, then the number of dice defaults to 1. If the second number is not a
number, but a percentage sign, then the number of sides becomes 100 (for a percentage roll).
{#x} This number tells how many times to roll. For example, if you want to roll 3 6-sided dice 6 times, you would say 6x3d6.
This would return six numbers, corresponding to the six different rolls.
{*#} This number tells how many times to multiply the result of each roll. 3d6*100 would return a number in the range of
300-1800, since 3-18 is the range resulting from 3d6, which is then multipled by 100.
{+/-#} This number is the modifier to be added or subtracted, depending on the sign, from each roll. 1d4+1 would result in a range
from 2-5 (1-4 for the die, plus 1). This step is handled *after* the multiplication modifier.
{s#} This number tells the program to drop the # lowest dice rolls. This step is handled *before* the multiplication modifier.
in the order show above. For an extreme example, "3x4d6*5+1s2" would roll four six-sided dice, drop the lowest two, multiply the result by
5, add 1 to that, and repeat the process two more times, for a total of three results.
DIAGNOSTICS
The following error messages may appear on STDERR:
Failure in getting dice attributes
Either memory could not be allocated while parsing the string passed to the rolldice program or an invalid dice string was entered.
Failure in rolling dice
Memory could not be allocated while actually rolling the dice.
Unknown option
Take a wild guess ;)
BUGS
I haven't noticed any yet... rolldice is a quick hack to provide a virtual dice roller for FRPGs that I play. Any improvements are
greatly welcome, as I am not the most experienced C coder...
AUTHOR
Stevie Strickland <sstrickl@cc.gatech.edu>
VERSION
1.10 - 25 Nov 2001
Linux 25 Nov 2001 ROLLDICE(6)