Anyone have a nice script that will report some common config issues /
problems that might affect pc performance? I am thinking vbs version of
PCPitstop or some similar tool.
Actually you can insert a comment/description via script. I want to search for a particular shortcut based on its comment/description property.
Heres how to set the commen/description property,took forever to work this out but heres how:
Dim objShell, strPath
Dim objShortcut
Set objShell...
Hi all, I think this is a tough one. I need to search for shortcuts in a particular folder, based on the comment in the properties of the shortcut (right click shortcut, select properties). Is that possible? I found a WMI script on MS scripting site that allows me to enumerate every shortcut on...
Hi all. I am trying to build a list that consists of 10% of every machine model I have in a database. I have no idea how to do this, I got started with this:
--
select distinct(model0), count(model0) as counted,
round((count(model0)*.10),0) as test_counts
from v_GS_COMPUTER_SYSTEM
where model0...
Anyone have a script to copy an entire directory structure and all of its contents? I need to copy every folder under directory /dir1 to /dir2 and I am at a loss.
OS = AIX 5.2
Hi all. Keep getting the following error on WinXP boxes as well as my Win2000 servers whenever I try to use vbs to read the event log: "
ActiveX component can't create object: 'GetObject'"
Heres the code I am using:
<html>
<head>
<title>OpLets v1.0</title>
</head>
<body>
<script...
Recently started monitoring my SQL server with perfmon and I am seeing page faults running at 100% almost all the time. Can someone explaing to me what that indicates performance wise?
Hi all. I am using the following to get the starting line number of some info in a log:
date +"%a %b %e"|xargs -i grep -n {} /u/informix/online.log|tail -n 1|cut -f 1 -d :|xargs -i more -p {} /u/informix/online.log
I want to take the resulting number and subtract it from the total number of...
Is there a way to debug ksh scripts? I am thinking I saw someone do this long ago, and you could see each command before it executed, but I dont know how to do it.
I have been told several times it woudl require a C program to do this. Maybe someone will come up with something new here, I would like to be able to do this (not just for ROOT) as well.
Do you know if the SSA D40 disk drawer will fit into a standard server rack - say like a Compaq rack? Maybe it will fit, but is there some other detail about that drawer that shuold make me NOT want to install it as such?
Seen lots of examples of ping scripts to test if a server is up. I was
wondering if anyone had gone one step further and used the output from
such a script to update an HTML page so you could have a GUI view of
whether a list of servers is up...maybe color-coded!
Hi all. Can someone donate a script? We do logical volume mirroring and I would like to have a fast way to verify all of our logical volumes are mirrored. This is necessary because we have a database that uses raw devices and we frequently have DBAs creating raw space/LVs for the database and...
Is it possible to use a wait hint in a select done via cursor? Please no "dont use cursors" posts, I didnt write the code and I am just trying to help a developer.
Hello all. I sure hope someone here can help me because informix support did not seem very interested in my question. I have two systems running informix, one system A has much more storage space on it than the other (system B!). I have two databases in the same instance on system A and I want...
Hi all. I know I can create a "nologin" file in /etc that will prevent everyone but root from logging on. Is there a way I could prevent everyone but root and one other account from logging on? I have a need to allow the primary account for my informix database to login as well as root when I...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.