Questions tagged [sunos]

SunOS is a version of the Unix operating system developed by Sun Microsystems for their workstation and server computer systems. The SunOS name is usually only used to refer to versions 1.0 to 4.1.4 of SunOS. These versions were based on BSD, while SunOS version 5.0 and later are based on UNIX System V Release 4, and are marketed under the brand name Solaris.

SunOS is a version of the Unix operating system developed by Sun Microsystems for their workstation and server computer systems. The SunOS name is usually only used to refer to versions 1.0 to 4.1.4 of SunOS. These versions were based on BSD, while SunOS version 5.0 and later are based on UNIX System V Release 4, and are marketed under the brand name Solaris.

183 questions
0
votes
2 answers

grep surrounding lines in SunOS 5.9

Trying to grep surrounding lines using SunOS 5.9, normally I would use grep with -B and -A to do so: grep -B 3 -A 2 foo README.txt However, in SunOS 5.9, grep don't support this feature with this error message: grep: illegal option -- A below is…
Summer
  • 13
  • 4
0
votes
1 answer

Unable to extract to specific directory

I am trying to extract to file to specific directory but it doesn't produce result. Command: zcat /export/home/tceng/Desktop/temp/3.tar.Z | tar -xf - -C /export/home/tceng/Desktop/temp/TestExtractUtility/ if we remove value -C onwards in above…
Anil Bhendarkar
  • 51
  • 1
  • 2
  • 7
0
votes
1 answer

Awk command print max min values from log

I am doing grep with success flag S. $11 is the service type, $12 is either S(success) or F(failure), and $14 is elapsed time. Below command I am getting average elapsed time. bash-3.2$ grep 'EXSTAT|' ivrbroker.log | grep '|F|' | >…
Guru
  • 47
  • 2
  • 7
0
votes
0 answers

strcat dumping core in SunOS

I have a program which goes through the directory structure and concatenates the files present in the path to szFile . I have used dirent here to get the directory entries. It is dumping core in the strcat function inside the for loop only in SunOS…
user3563852
  • 23
  • 1
  • 7
0
votes
1 answer

JAVA_HOME: /bin/java vs /bin/amd64/java

I am running a 64-bit application in server mode on SunOS box1 5.10 *** i86pc i386 i86pc but somehow script chooses /...some_path.../bin/amd64/java to run it. How does it affect my application? Should I be worried?
Denis Kulagin
  • 8,472
  • 17
  • 60
  • 129
0
votes
2 answers

Executing a shell script from a file

My OS platform is this : SunOS machinehull01 5.10 Generic_148888-05 sun4v sparc SUNW,Sun-Fire-T200 I have written a shell script to run from a file File name: test.sh #!/bin/sh VARNAME=$grep '-l' TestWord /home/hull/xml/text/*.txt echo "Found…
user360321
  • 177
  • 1
  • 4
  • 19
0
votes
1 answer

jruby sunos 5.1 cannot run jgem

It looks that jruby-1.7.16 does not work correctly on SunOS 5.10. At least it looks like its impossible to install additional gems. When I try to run jgem I get the following error: NoMethodError: undefined method `name' for nil:NilClass …
0
votes
1 answer

Make failed nagios-plugins-1.4.3 and 1.4.9 on SunOS 9

Here I have tried two versions of plugin compilation here: 1.4.3 and 1.4.9 the new issue with make, it is saying the following Using nagios-plugin-1.4.3 source='check_ldap.c' object='check_ldap.o' libtool=no \ DEPDIR=.deps depmode=gcc /bin/bash…
PavanDevarakonda
  • 625
  • 5
  • 27
0
votes
3 answers

BASH - Getting the last modified date from file without using stat

I am trying to get a time stamp and convert it to the format - YYYYMMDD. I don't know how to get the date without using stat and I can't install stat because it is a company server. I have looked around but it seems everyone would use stat.
user2438390
  • 3
  • 1
  • 6
0
votes
1 answer

JMS publish rate is slow in SunOS

I have a application that uses JMS as messaging system. If publisher, subscriber and weblogic server is on Linux, publish rate is good enough(>30 messages/second). But if all the three are on SunOS, publish rate comes down to 2-3 messages/second. I…
codingenious
  • 8,385
  • 12
  • 60
  • 90
0
votes
2 answers

Perl script: validity of a directory always return false

I want to read some parameters from a file using perl script. I used grep command to find the values of thoses parameters. #!/usr/bin/perl if( scalar @ARGV ==0) { die "Number of argument is zero. Please use: perl
Pravej Khan
  • 142
  • 2
  • 10
0
votes
0 answers

C++ SunOS ofstream error

Folks, we collect large amounts of data and create error, status, info log files to let us know what's going on. We use ofstreams to write to these files. After some period of time (days), we get a file error (indicated by .good() call) on one of…
0
votes
1 answer

SCP in script not working when ran as CRON job

I have a script on a remote server (bServer) which SSH's to a central server (lets call is cServer) and kicks a script which further SSH's to 2 other server (server13 / server14), a script is ran on each of these servers which produces a file. I…
cardycakes
  • 431
  • 1
  • 4
  • 12
0
votes
1 answer

Performance issue after upgrading to Java 7 update 25 on SunOS 5.10

Recently we updated our Java 7 update 7 to update 25, on SunOS 5.10 Generic_144488-17 sun4v sparc SUNW,Sun-Blade-T6340 machine. Right after the update we got serious performance issues from our application that deployed on WebLogic 11g. During…
Maxim Kirilov
  • 2,639
  • 24
  • 49
0
votes
3 answers

how do "system()" without message on stderr on SunOS

I'm trying to figure out how to do a system() function call (in C) on SunOS and NOT have anything printed to stderr (or stdout). Currently, the following code compiles/runs on Linux, OSX, HP-UX, and SunOS. On all but SunOS, I get a nice output of…
Stan Sieler
  • 729
  • 7
  • 16