04-21-2009
10 More Discussions You Might Find Interesting
1. Solaris
hi after installation of sol 10 u 2 system started rebooting and when i tried to install solaris the system is giving:
panic/thread=cbacf800: BAD TRAP: type=e(#pf page fault) rp=fec38ae4 addr=458b247d occured in module "unix" due to an illegal access to a user address syncing file systems..... (2 Replies)
Discussion started by: nibiru78
2 Replies
2. Shell Programming and Scripting
Hello, the ls -d command to only list directories in a directory doesn't seem to work on Solaris and the man command says to use that combination: ls -d
Anyone have the same problem and find a resolve?
Thanks
BobK (9 Replies)
Discussion started by: bobk544
9 Replies
3. Solaris
I have a solaris 10 system configured using NetApp as its storage, and the file systems are already configured as you can see from the example below:
root@moneta # df -h
Filesystem size used avail capacity Mounted on
/dev/md/dsk/d0 9.8G 513M 9.3G 6% /
... (0 Replies)
Discussion started by: fretagi
0 Replies
4. Solaris
I have a solaris 10 system configured using NetApp as its storage, and the file systems are already configured as you can see from the example below:
root@moneta # df -h
Filesystem size used avail capacity Mounted on
/dev/md/dsk/d0 9.8G 513M 9.3G 6% /... (4 Replies)
Discussion started by: fretagi
4 Replies
5. UNIX for Dummies Questions & Answers
i'm trying to add disk to red hat , use fdisk -l but it doesn't recognize it
what should i do it to get it works? (3 Replies)
Discussion started by: prpkrk
3 Replies
6. Solaris
Good day.
I have a SUN Netra X4200 running on Solaris 10, with two disks in raid 1 configuration. HDD0 (c2t0d0) seems to have a problem but HDD1 (c2t1d0) is ok:
# for a in c2t0d0 c2t1d0 ; do raidctl -l $a; done
Volume Size Stripe Status Cache RAID
Sub ... (5 Replies)
Discussion started by: BRH
5 Replies
7. Solaris
Hi, one of my server won't boot. I restarted system while sysconfig configure was running. I can't boot into normal user mode. I always get error svc:/system/config-user:default is in maintenance mode and some lib exists with status 95.
I tried to boot into single user mode and to clear this... (6 Replies)
Discussion started by: solaris_user
6 Replies
8. Hardware
Hello,
I have a spare SUN server X4200 with a DC PSU (oracle part number 300-2186)
The PSU is the one in the photo
I was looking in the net about what cable i can order but i couldn't find anything that fit there :)
Any idea?
Thanks! (2 Replies)
Discussion started by: @dagio
2 Replies
9. UNIX for Advanced & Expert Users
Hello,
I have rebooted the RHEL VM but after rebooting the vm it not showing all the partition mounted on OS level, if i'll execute the fdisk -l command, then i'm able to see the same disk. below is the fdisk output :
# fdisk -l
Disk /dev/sda: 107.6 GB, 107639996416 bytes
255 heads, 63... (1 Reply)
Discussion started by: purushottamaher
1 Replies
10. Solaris
Hi Guys,
Could someone please share the dvd/cd that came with server Netra x4200 M2 since it is not more available in Oracle site? Or do you know where I can get that?
Thanks! (4 Replies)
Discussion started by: CristianS
4 Replies
LEARN ABOUT DEBIAN
math::gradient
Gradient(3pm) User Contributed Perl Documentation Gradient(3pm)
NAME
Math::Gradient - Perl extension for calculating gradients for colour transitions, etc.
SYNOPSIS
use Math::Gradient qw(multi_gradient);
# make a 100-point colour palette to smothly transition between 6 RGB values
my(@hot_spots) = ([ 0, 255, 0 ], [ 255, 255, 0 ], [ 127, 127, 127 ], [ 0, 0, 255 ], [ 127, 0, 0 ], [ 255, 255, 255 ]);
my(@gradient) = multi_array_gradient(100, @hot_spots);
DESCRIPTION
Math::Gradient is used to calculate smooth transitions between numerical values (also known as a "Gradient"). I wrote this module mainly to
mix colours, but it probably has several other applications. Methods are supported to handle both basic and multiple-point gradients, both
with scalars and arrays.
FUNCTIONS
gradient($start_value, $end_value, $steps)
This function will return an array of evenly distributed values between $start_value and $end_value. All three values supplied should
be numeric. $steps should be the number of steps that should occur between the two points; for instance, gradient(0, 10, 4) would
return the array (2, 4, 6, 8); the 4 evenly-distributed steps necessary to get from 0 to 10, whereas gradient(0, 1, 3) would return
(0.25, 0.5, 0.75). This is the basest function in the Math::Gradient module and isn't very exciting, but all of the other functions
below derive their work from it.
array_gradient($start_value, $end_value, $steps)
While gradient() takes numeric values for $start_value and $end_value, array_gradient() takes arrayrefs instead. The arrays supplied
are expected to be lists of numerical values, and all of the arrays should contain the same number of elements. array_gradient() will
return a list of arrayrefs signifying the gradient of all values on the lists $start_value and $end_value.
For example, calling array_gradient([ 0, 100, 2 ], [ 100, 50, 70], 3) would return: ([ 25, 87.5, 19 ], [ 50, 75, 36 ], [ 75, 62.5, 53
]).
multi_gradient($steps, @values)
multi_gradient() calculates multiple gradients at once, returning one list that is an even transition between all points, with the
values supplied interpolated evenly within the list. If $steps is less than the number of entries in the list @values, items are
deleted from @values instead.
For example, calling multi_gradient(10, 0, 100, 50) would return: (0, 25, 50, 75, 100, 90, 80, 70, 60, 50)
multi_array_gradient($steps, @values)
multi_array_gradient() is the same as multi_gradient, except that it works on arrayrefs instead of scalars (like array_gradient() is to
gradient()).
AUTHOR
Tyler MacDonald, <japh@crackerjack.net>
COPYRIGHT AND LICENSE
Copyright 2003 by Tyler MacDonald
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
perl v5.10.1 2010-03-12 Gradient(3pm)