Cache Task Number PC 0.9.8

FAQ, getting help, user experience about PrimoCache
Post Reply
Stubi
Level 5
Level 5
Posts: 47
Joined: Tue Aug 24, 2010 12:36 pm

Cache Task Number PC 0.9.8

Post by Stubi »

Is there any way to reset the cache task number? It just seems to count up.

On this occasion - is there any way to use the command line so that all cache tasks get flushed, stopped or whatever (without specifying a cache task number)?
User avatar
Support
Support Team
Support Team
Posts: 3628
Joined: Sun Dec 21, 2008 2:42 am

Re: Cache Task Number PC 0.9.8

Post by Support »

cache task number (index) is automatically created at each time computer boots up. Its value is not persistent across computer restarts.
Each cache task is also assigned an identifier which takes the following format, where each "x" represents a hexadecimal digit.
{xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx}
Identifiers are persistent across computer restarts.
Stubi wrote:On this occasion - is there any way to use the command line so that all cache tasks get flushed, stopped or whatever (without specifying a cache task number)?
Currently no.
Stubi
Level 5
Level 5
Posts: 47
Joined: Tue Aug 24, 2010 12:36 pm

Re: Cache Task Number PC 0.9.8

Post by Stubi »

For my problem I use now for instance to flush all cache rxpcc dwflush -v 1,2,3,4,5,6,7,8,9 -s as workaround - will never have more than 9 tasks I guess. Since it does not complain about not existing task numbers this seems to work. But rxpcc dwflush -v -s could do the same.

I have to correct myself. This with 1,2,3,4... does not work for everything. For instance with dwpause you get an error for not existing task numbers. But it works with pause !
User avatar
Support
Support Team
Support Team
Posts: 3628
Joined: Sun Dec 21, 2008 2:42 am

Re: Cache Task Number PC 0.9.8

Post by Support »

Stubi wrote:This with 1,2,3,4... does not work for everything. For instance with dwpause you get an error for not existing task numbers. But it works with pause !
Commands "pause, resume, dwpause, dwresume, dwflush" accept and process same options. If -v is not speicified, you must specify -c option. With -v option, commands execute on each volumes specified. With -c option, commands execute on specified cache task and all volumes in this cache task.
Post Reply