Adic Server Bedienungsanleitung Seite 155

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 218
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 154
aci_scratch_info 4-113
21 Dec 2001
Figure 4-103 Example of the aci_scratch_info Function
/* List scratch pool information */
int rc;
char *pszPoolName = "";
enum aci_media type = ACI_3590;
long lVolserCount, lScratchCount;
if ((rc =
aci_scratch_info (pszPoolName, type,
&lVolserCount, &lScratchCount)) != 0
)
{
aci_perror ("Command failed: ");
}
else
{
if (strcmp (pszPoolName, "") == 0)
{
printf ("DEFAULT_POOL:VolserCount:%d,
ScratchCount:%d\n",
lVolserCount, lScratchCount);
}
else
{
printf ("%s: VolserCount: %d,
ScratchCount: %d \n",
pszPoolName, lVolserCount,
lScratchCount);
}
}
Seitenansicht 154
1 2 ... 150 151 152 153 154 155 156 157 158 159 160 ... 217 218

Kommentare zu diesen Handbüchern

Keine Kommentare